forked from facebookresearch/DeeperCluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conv13.sh
executable file
·29 lines (24 loc) · 1.19 KB
/
conv13.sh
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
26
27
28
29
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
DATAPATH_IMAGENET='path/to/imagenet/dataset'
DATAPATH_PLACES='path/to/places205/dataset'
DATAPATH_PASCAL='path/to/pascal2007/dataset'
##########################
# DeeperCluster YFCC100M #
##########################
# ImageNet dataset
EXP='./exp/eval_linear_imagenet/'
mkdir -p $EXP
python eval_linear.py --conv 13 --pretrained ./downloaded_models/deepercluster/ours.pth --sobel true --dump_path $EXP --data_path $DATAPATH_IMAGENET --batch_size 256 --lr 0.02 --wd 0.00001 --nepochs 100
# Places205 dataset
EXP='./exp/eval_linear_places205/'
mkdir -p $EXP
python eval_linear.py --conv 13 --pretrained ./downloaded_models/deepercluster/ours.pth --sobel true --dump_path $EXP --data_path $DATAPATH_PLACES --batch_size 256 --lr 0.03 --wd 0.00001 --nepochs 100
# Pascal dataset
EXP='./exp/eval_linear_pascal/'
mkdir -p $EXP
python eval_linear.py --conv 13 --pretrained ./downloaded_models/deepercluster/ours.pth --sobel true --dump_path $EXP --data_path $DATAPATH_PASCAL --batch_size 128 --lr 0.02 --wd 0.00001 --nepochs 60