Skip to content

Commit 6772ead

Browse files
committed
anonymizing
1 parent 5ad2bde commit 6772ead

12 files changed

+6
-497
lines changed

analysis/Demo Analysis.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
"source": [
6767
"modelpath = \"../saved/models/paper_coco_model.pt\" #path to the saved model\n",
6868
"modeltype = \"coco\" #type of model: 'mnist' or 'coco'\n",
69-
"cocoroot = '../../../../data/jordanlei/coco/images/val2017' #path to the coco val dataset\n",
70-
"annpath = '../../../../data/jordanlei/coco/annotations/instances_val2017.json' #path to the coco val annotations\n",
69+
"cocoroot = '../../../../data/coco/images/val2017' #path to the coco val dataset\n",
70+
"annpath = '../../../../data/coco/annotations/instances_val2017.json' #path to the coco val annotations\n",
7171
"metadatapath = '../data/metadata/cocometadata_test.p' #path to metadata file (will create one if none exists)\n",
7272
"\n",
7373
"n = 2 #number of objects\n",
@@ -499,9 +499,9 @@
499499
],
500500
"metadata": {
501501
"kernelspec": {
502-
"display_name": "Python (jordan_env)",
502+
"display_name": "Python (env)",
503503
"language": "python",
504-
"name": "jordan_env"
504+
"name": "env"
505505
},
506506
"language_info": {
507507
"codemirror_mode": {

analysis/Untitled.ipynb

-399
This file was deleted.

analysis/Untitled1.ipynb

-68
This file was deleted.

analysis/graphs/inhibition.svg

-21
This file was deleted.

coco_attention_model3_log.txt

-3
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

train_coco.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
parser = argparse.ArgumentParser()
66
parser.add_argument('--device', type= int, default = 3)
7-
parser.add_argument('--trainpath', type= str, default = '../../../data/jordanlei/coco/images/train2017')
8-
parser.add_argument('--annpath', type= str, default = '../../../data/jordanlei/coco/annotations/instances_train2017.json')
7+
parser.add_argument('--trainpath', type= str, default = '../../../data/coco/images/train2017')
8+
parser.add_argument('--annpath', type= str, default = '../../../data/coco/annotations/instances_train2017.json')
99
parser.add_argument('--metadatapath', type= str, default = 'data/metadata/cocometadata_train.p')
1010
parser.add_argument('--strength', type= float, default = 0.3)
1111
parser.add_argument('--out', type = str, default='attn')

0 commit comments

Comments
 (0)