1 Star 3 Fork 2

YFwinstony / WS-DAN.PyTorch

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.py 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
GuYuc 提交于 2019-11-30 20:40 . update experimental results
##################################################
# Training Config
##################################################
GPU = '0' # GPU
workers = 4 # number of Dataloader workers
epochs = 160 # number of epochs
batch_size = 12 # batch size
learning_rate = 1e-3 # initial learning rate
##################################################
# Model Config
##################################################
image_size = (448, 448) # size of training images
net = 'inception_mixed_6e' # feature extractor
num_attentions = 32 # number of attention maps
beta = 5e-2 # param for update feature centers
##################################################
# Dataset/Path Config
##################################################
tag = 'bird' # 'aircraft', 'bird', 'car', or 'dog'
# saving directory of .ckpt models
save_dir = './FGVC/CUB-200-2011/ckpt/'
model_name = 'model.ckpt'
log_name = 'train.log'
# checkpoint model for resume training
ckpt = False
# ckpt = save_dir + model_name
##################################################
# Eval Config
##################################################
visualize = True
eval_ckpt = save_dir + model_name
eval_savepath = './FGVC/CUB-200-2011/visualize/'
1
https://gitee.com/YFwinston/WS-DAN.PyTorch.git
git@gitee.com:YFwinston/WS-DAN.PyTorch.git
YFwinston
WS-DAN.PyTorch
WS-DAN.PyTorch
master

搜索帮助