-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
organise directories in bboxes_labelling (#71)
- Loading branch information
Showing
7 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
45 changes: 45 additions & 0 deletions
45
bboxes_labelling/cluster_bash_scripts/run_frame_extraction_local.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/bin/bash | ||
|
||
CRABS_REPO_DIR=/Users/sofia/Documents_local/project_Zoo_crabs/crabs-exploration | ||
OUTPUT_DIR=$CRABS_REPO_DIR/data/crab_sample_data/sample_frames | ||
|
||
DATA_DIR=/Volumes/zoo/raw/CrabField/ramalhete_2021 | ||
|
||
# ------------------- | ||
# Run python script | ||
# ------------------- | ||
python $CRABS_REPO_DIR"/bboxes labelling/extract_frames_to_label_w_sleap.py" \ | ||
$DATA_DIR/camera2/NINJAV_S001_S001_T001.MOV \ | ||
--output_path $OUTPUT_DIR \ | ||
--video_extensions MOV \ | ||
--initial_samples 10 \ | ||
--scale 0.75 \ | ||
--n_components 5 \ | ||
--n_clusters 5 \ | ||
--per_cluster 8 \ | ||
|
||
# # create first output dir | ||
# # python $CRABS_REPO_DIR"/bboxes labelling/extract_frames_to_label_w_sleap.py" \ | ||
# # $CRABS_REPO_DIR/data/crab_sample_data/sample_clips \ | ||
# # --output_path $OUTPUT_DIR \ | ||
# # --video_extensions avi mp4 \ | ||
# # --initial_samples 300 \ | ||
# # --scale 0.75 \ | ||
# # --n_components 5 \ | ||
# # --n_clusters 5 \ | ||
# # --per_cluster 8 \ | ||
# # --compute_features_per_video | ||
|
||
|
||
# # extend previous one with this video | ||
# python $CRABS_REPO_DIR"/bboxes labelling/extract_frames_to_label_w_sleap.py" \ | ||
# $CRABS_REPO_DIR/data/cam2_NINJAV_S001_S001_T004_out_domain_sample.mp4 \ | ||
# --output_path $OUTPUT_DIR \ | ||
# --output_subdir "20230807_124723" \ | ||
# --video_extensions avi mp4 \ | ||
# --initial_samples 300 \ | ||
# --scale 0.75 \ | ||
# --n_components 5 \ | ||
# --n_clusters 5 \ | ||
# --per_cluster 8 \ | ||
# --compute_features_per_video |
File renamed without changes.
File renamed without changes.
File renamed without changes.