Pared down notes for my own use, derived from http://www.pixeljoint.com/forum/forum_posts.asp?TID=11299
Start with as few colours as possible; expand both shades and hues only as is necessary:
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia |
Pared down notes for my own use, derived from http://www.pixeljoint.com/forum/forum_posts.asp?TID=11299
Start with as few colours as possible; expand both shades and hues only as is necessary:
#!/bin/bash | |
# Define the path to your root folder | |
rootFolder="." | |
# Define the path to your input folder (folderA) | |
folderA="$rootFolder/align" | |
# Function to delete excess files and print file count | |
delete_excess_files () { |
for file in *.HEIC; do | |
echo "${file%.*}" | |
convert $file -resize "1920>" -quality 75 "${file%.*}.png" | |
done |
watch -n 0.5 nvidia-smi
# alternatively
nvidia-smi -l 0.5
Replace FILEID and FILENAME with id and filename (there are 2 FILEID and 1 FILENAME to replace)
wget – load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget – quiet – save-cookies /tmp/cookies.txt – keep-session-cookies – no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=FILEID" -O FILENAME && rm -rf /tmp/cookies.txt
A lot of GitHub projects need to have pretty math formulas in READMEs, wikis or other markdown pages. The desired approach would be to just write inline LaTeX-style formulas like this:
$e^{i \pi} = -1$
Unfortunately, GitHub does not support inline formulas. The issue is tracked here.
$ python -m pip install [package] |
For MacOS
$ cd /etc/; sudo nano bashrc
For Linux
$ gedit ~/.bashrc