forked from ellisk42/ec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
taskRankGraphs
executable file
·26 lines (17 loc) · 2.33 KB
/
taskRankGraphs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
# Sample script that calls taskRankGraphs.py to create graphs of ECResult metrics from results with a recognitionTaskMetrics dict.
# Note: clustering requires a container with sklearn installed.
module add openmind/singularity
checkpoint1='/om2/user/zyzzyva/ec/data/expertiseFigures/addLogProductions/logo_batch_40_60m/logo_aic=1.0_arity=3_BO=True_CO=True_ET=3600_HR=0.5_it=1_MF=5_baseline=False_pc=30.0_RT=1800_RR=False_RW=False_storeTask=True_L=1.5_batch=40_taskReranker=randomShuffle_K=2_topkNotMAP=False_rec=True_feat=LogoFeatureCNN_graph=True.pickle'
checkpoint2='/om2/user/zyzzyva/ec/data/expertiseFigures/addLogProductions/logo_batch_40_60m/logo_aic=1.0_arity=3_BO=True_CO=True_ET=3600_HR=0.5_it=2_MF=5_baseline=False_pc=30.0_RT=1800_RR=False_RW=False_storeTask=True_L=1.5_batch=40_taskReranker=randomShuffle_K=2_topkNotMAP=False_rec=True_feat=LogoFeatureCNN_graph=True.pickle'
checkpoint5='/om2/user/zyzzyva/ec/data/expertiseFigures/addLogProductions/logo_batch_40_60m/logo_aic=1.0_arity=3_BO=True_CO=True_ET=3600_HR=0.5_it=5_MF=5_baseline=False_pc=30.0_RT=1800_RR=False_RW=False_storeTask=True_L=1.5_batch=40_taskReranker=randomShuffle_K=2_topkNotMAP=False_rec=True_feat=LogoFeatureCNN_graph=True.pickle'
checkpoint12='/om2/user/zyzzyva/ec/data/expertiseFigures/addLogProductions/logo_batch_40_60m/logo_aic=1.0_arity=3_BO=True_CO=True_ET=3600_HR=0.5_it=12_MF=5_baseline=False_pc=30.0_RT=1800_RR=False_RW=False_storeTask=True_L=1.5_batch=40_taskReranker=randomShuffle_K=2_topkNotMAP=False_rec=True_feat=LogoFeatureCNN_graph=True.pickle'
singularity exec -B /om2 sklearn-container.img \
python bin/taskRankGraphs.py --checkpoints $checkpoint1 $checkpoint2 $checkpoint5 $checkpoint12 \
--metricsToCluster contextualLogProductions --export data/expertiseFigures/logo_batch_40_60m/ --tsneLearningRate 150 --labelWithImages 1\
singularity exec -B /om2 sklearn-container.img \
python bin/taskRankGraphs.py --checkpoints $checkpoint2 $checkpoint5 $checkpoint12 \
--metricsToCluster heldoutTaskLogProductions --export data/expertiseFigures/logo_batch_40_60m/ --tsneLearningRate 150 --labelWithImages 1\
# singularity exec -B /om2 sklearn-container.img \
# python bin/taskRankGraphs.py --checkpoints $checkpoint13 \
# --metricsToCluster heldoutTaskLogProductions --export data/expertiseFigures/text_random_shuffle_10_720s/ --tsneLearningRate 250 \