forked from mrq/DL-Art-School
thought I copied this over
This commit is contained in:
parent
73d9c3bd46
commit
8db762fa17
|
@ -39,9 +39,9 @@ def parse(opt_path, is_train=True):
|
|||
opt['path'][key] = osp.expanduser(path)
|
||||
else:
|
||||
opt['path'] = {}
|
||||
opt['path']['root'] = osp.abspath(osp.getcwd()) #osp.join(__file__, osp.pardir, osp.pardir, osp.pardir))
|
||||
opt['path']['root'] = osp.abspath(os.getcwd()) #osp.join(__file__, osp.pardir, osp.pardir, osp.pardir))
|
||||
if is_train:
|
||||
experiments_root = osp.join(opt['path']['root'], 'experiments', opt['name'])
|
||||
experiments_root = osp.join(opt['path']['root'], 'training', opt['name'])
|
||||
opt['path']['experiments_root'] = experiments_root
|
||||
opt['path']['models'] = osp.join(experiments_root, 'models')
|
||||
opt['path']['training_state'] = osp.join(experiments_root, 'training_state')
|
||||
|
|
Loading…
Reference in New Issue
Block a user