We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
img_paths = img_paths[:182000]
UnboundLocalError: local variable 'img_paths' referenced before assignment
The text was updated successfully, but these errors were encountered:
Sorry, I didn't find this statement in the code, could you provide more details about your question?
Sorry, something went wrong.
Thanks for your replay,the whole mistake as follwing:
Traceback (most recent call last): File "train.py", line 161, in tr_data = data.Celeba(dataroot, atts, img_size, batch_size, part='train', sess=sess, crop=crop_) File "D:\he\STGAN-master\data.py", line 201, in init img_paths = img_paths[:182000] UnboundLocalError: local variable 'img_paths' referenced before assignment
Please check your dataset, see https://github.com/csmliu/STGAN/blob/master/data.py#L157-L160
No branches or pull requests
UnboundLocalError: local variable 'img_paths' referenced before assignment
The text was updated successfully, but these errors were encountered: