Skip to content
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

It's isn't working #16

Open
CodeSame opened this issue Feb 1, 2023 · 3 comments
Open

It's isn't working #16

CodeSame opened this issue Feb 1, 2023 · 3 comments

Comments

@CodeSame
Copy link

CodeSame commented Feb 1, 2023

Output of powershell after command python train_image.py --example_config golden_horse.yaml:

Traceback (most recent call last):
  File "C:\Users\CodeSame\miniconda3\text2live\train_image.py", line 129, in <module>
    train_model(config)
  File "C:\Users\CodeSame\miniconda3\text2live\train_image.py", line 24, in train_model
    seed = np.random.randint(2 ** 32)
  File "mtrand.pyx", line 763, in numpy.random.mtrand.RandomState.randint
  File "_bounded_integers.pyx", line 1336, in numpy.random._bounded_integers._rand_int32
ValueError: high is out of bounds for int32

On my own, I was able to run this neural network by replacing in the 24th line of the file train_image.py the value from seed = np.random.randint(2** 32) to seed = np.random.randint(2** 31). BUT now all the other errors remain in the output. You can specify specific software versions and PC system requirements, if any.

@Merkoso
Copy link

Merkoso commented Feb 1, 2023

I have the same. I handled with 32bit issue but now it just show me some CUDA error, I sync up my torch with CUDA Toolkit but still same situation. Probably, 32gb Tesla isn't fun recommendation, it is in must need :D

@Amazingldl
Copy link

I have the same. I handled with 32bit issue but now it just show me some CUDA error, I sync up my torch with CUDA Toolkit but still same situation. Probably, 32gb Tesla isn't fun recommendation, it is in must need :D

same

@Pythonpa
Copy link

Pythonpa commented Mar 2, 2023

Does this have to be a 32GB video card? Has anyone tried 16G? Tesla T4?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants