Skip to content

Commit

Permalink
debug image dir
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanming-hu committed Mar 27, 2018
1 parent 31b39f6 commit b297bd8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions fetch_fivek.py
Expand Up @@ -57,14 +57,14 @@ def download(url, fn=None, path=None):
print()
print()
print('Congratulations:'
' The MIT-Adobe FiveK Dataset is ready.'
' You can train your own model with \'python3 train.py example test\'.'
' The MIT-Adobe FiveK Dataset is ready.\n'
' You can train your own model with \'python3 train.py example test\'.\n'
' Your trained model will be located at \'models/example/test\'')

print()
print('Note:'
' Due to copyright issues, we cannot provide photos from 500px artists.'
' If you want to try your own output dataset, please collect your own stylized images,'
print('Note:\n'
' Due to copyright issues, we cannot provide photos from 500px artists.\n'
' If you want to try your own output dataset, please collect your own stylized images,\n'
' and put them under artists/[ArtistName]/*.{jpg|png}')


Expand Down
2 changes: 2 additions & 0 deletions net.py
Expand Up @@ -32,6 +32,8 @@ def __init__(self, cfg, restore=False):
os.makedirs(self.dir)
if not os.path.exists(self.dump_dir):
os.makedirs(self.dump_dir)
if not os.path.exists(self.image_dir):
os.makedirs(self.image_dir)

if not restore:
self.backup_scripts()
Expand Down

0 comments on commit b297bd8

Please sign in to comment.