ValueError: high is out of bounds for int32
Just installed to test, but it is giving me the error...
Traceback (most recent call last):
File "T:\Tensorflow\Programs\depplearn\tools\Text2LIVE\train_image.py", line 129, in
Same error^ bit size for numpy defaults to 32 with this project(needs to be 64), but I don't know how to update this for the repository to contribute or I would.
I spent a little time looking this error up, it is happening on "np.random.seed(seed)" but I do not see where to change the 32 to 64 bit, but I am a noob when it comes to this kind of stuff. To get past this error I changed in the file "train_video.py" from ... "seed = np.random.randint(2 ** 32)" to 'seed = np.random.randint(2 ** 16)'
And it gets past that point but now get "AssertionError: Torch not compiled with CUDA enabled", but that is something I think I can figure out.
This can be fixed by changing this line in train_video.py
seed = np.random.randint(2 ** 32)
to
seed = np.random.randint(2 ** 32, dtype=np.int64)
A similar line exists in train_image.py that can be solved with the same change. If unsure check the PR I made.
Thanks