Skip to content

It's isn't working #16

@CodeSame

Description

@CodeSame

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions