Skip to main content

Posts

Showing posts from 2024

Increase WSL memory

wsl -- shutdown Open PS and do the following. [These are two lines] Write-Output "[wsl2] memory=10GB" >> "${env:USERPROFILE}\.wslconfig" # to see Get-Content "${env:USERPROFILE}\.wslconfig" To see total memory: top htop free -h   Components of the command: Write-Output "[wsl2] memory=26GB" : This writes the string [wsl2] memory=10GB . [You must write [wsl2] in one line and memory=10GB in another line] [wsl2] indicates that the settings being configured are for WSL2, which is the second version of WSL with better performance and more advanced features. memory=26GB sets the maximum memory that WSL2 is allowed to use to 10 GB. >> "${env:USERPROFILE}\.wslconfig" : >> is the append operator, which adds the output to the specified file, instead of overwriting it. If the file doesn't exist, it will create one. ${env:USERPROFILE} is a PowerShell expression that references the current user's profile directory. For m...

Find Process That is Using Your File / Folder

 https://superuser.com/a/643312  Resource Monitor or resmon.exe Performance >> CPU >> Processes Select all processes by clicking the checkbox next to "Image" in the headers Use the search field in the Associated Handles section, example /path/to/folder You can end a process if you want

After Windows 11 Upgrade

Disable show more options (command prompt as admin): reg add “HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32” /f /ve Restart. To Reverse: reg delete “HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}” /f​ 

NVIDIA DEEPSTREAM SDK Install

  CUDA Lib Not installed: So: Installed using docker instead Docker Running:

NVIDIA TAO

 https://www.youtube.com/watch?v=kErfKDZ50To Note: there are two versions of tao 1 for tensorflow 2 and another for tensorflow 1 [Actually this is false - detectnet_v2 only has tf 1.15 version and should work well within automl]. careful: TF1 looks like: Configuration of the TAO Toolkit Instance dockers: ['nvidia/tao/tao-toolkit'] format_version: 2.0 toolkit_version: 4.0.1 published_date: 03/06/2023 TF2 looks like: [if installed in automl when tf2 installed already probably] (automl) rb@victus:~/eta$ tao info Configuration of the TAO Toolkit Instance task_group: ['model', 'dataset', 'deploy'] format_version: 3.0 toolkit_version: 5.2.0.1 published_date: 01/16/2024 older or newer version of tao is installed probably depending on python version tao model or just tao - for inference python 2.6.9 worked best - see notebook aws (base) rb@victus:~/eta$ curl https://get.docker.com | sh && sudo systemctl --now enable docker [On AMI docker was already ther...

Install Ubuntu Dual Boot HP Victus

Download Ubuntu: https://ubuntu.com/download/alternative-downloads [I'm downloading Ubuntu 20.04.6 Desktop (64-bit)] Download Rufus [Portable is fine]: https://rufus.ie/en/ [Mine: 4.4] Use DD Mode Secure boot state: Off If on, Hold Shift and Click Restart -> Troubleshoot -> Advanced Options -> UEFI Firmware Settings -> Restart -> Go To Boot -> Secure Boot -> Disable -> Exit -> Save and Exit Seems you can boot from device using this as well: Shift + Restart -> Use a device In HP Victus -> F9 Can also work, I did above Install Ubuntu Keyboard and Language: US Normal Installation -> Other Options Tick Both Download Updates and Install third-party [Although you can do any] Select: Something else First need to create two partitions from the unallocated space (one for ubuntu another for swap) For Ubuntu: Click free space -> create a new partition (click + or Add) Primary - Beginning of this space - Ext4 journaling file system Since we have 200G...