-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
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
Error with np.random.choice #26
Comments
@itsmeshreyans Have you solve it? I met the same question with you. |
I got the same error when I was running process_data.py. |
You need to make sure the dataset in the right directory.
…---Original---
From: "WANG Gefei"<[email protected]>
Date: Sun, Jun 2, 2019 22:48 PM
To: "dyelax/Adversarial_Video_Generation"<[email protected]>;
Cc: "Subscribed"<[email protected]>;
Subject: Re: [dyelax/Adversarial_Video_Generation] Error with np.random.choice (#26)
I got the same error when I was running process_data.py.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@stillbetter Thank you! I got this problem solved, and I can run avg_runner.py without normally after processing data. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "avg_runner.py", line 185, in
main()
File "avg_runner.py", line 181, in main
runner.train()
File "avg_runner.py", line 68, in train
batch = get_train_batch()
File "/Users/shreyans/Desktop/Hamburg_Assignments/Neural networks/version 2/Adversarial_Video_Generation/Code/utils.py", line 126, in get_train_batch
path = c.TRAIN_DIR_CLIPS + str(np.random.choice(c.NUM_CLIPS)) + '.npz'
File "mtrand.pyx", line 1120, in mtrand.RandomState.choice
ValueError: a must be greater than 0
The text was updated successfully, but these errors were encountered: