Skip to content

Commit

Permalink
added error message
Browse files Browse the repository at this point in the history
  • Loading branch information
eps696 committed Aug 19, 2021
1 parent 16e26e9 commit 582b9d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/process.py
Expand Up @@ -116,6 +116,7 @@ def gen_styles(refs):
return styles # [n,64]

# load refs and classes from files
assert a.refs is not None, " Set domains to process by --refs argument"
if osp.exists(a.refs):
a.fstep = framecount // len(a.refs)
refs = img_list(a.refs) if osp.isdir(a.refs) else [a.refs]
Expand Down

0 comments on commit 582b9d3

Please sign in to comment.