Tech we use:
Create shared google drive folders:
Photo_Uploads
- A place to upload photos toPhoto_MegaOutput
- A place to save megadetector results toPhoto_Archive
- A place to archive your photos when doneSet up Cluster Account - need dedicated GPU
Install/set up rclone
on Cluster
rclone config
Set up Conda Environment
conda env create -f conda.yml
conda activate tensorflow
to activate our environmentUpload photos to shared google drive folder: "Photo_Uploads"
OXY1_2021_10_01 *site name and check date of photos
If off campus, log into vpn (Forticlient)
Log into cluster
compbio
cd into Oxy-Megadetector dir
Sync photos from Google Drive to Cluster
Run ./sync-photos.sh
, a script that:
Log into gpu
ssh gpu01
Run Megadetector
Run ./run-megadetector.sh
, a script that:
conda activate tensorflow
Photo_Upload
and saves detection JSON and images above the detection threshhold to Photo_MegaOutput
Re-sync files between cluster and Google Drive
sync-photos.sh
Notes:
These scripts are idempotent, meaning they are safe to run repeatedly without recreating files. Will skip if file already completed.
Check out the issues page to see some stuff you can work on