omerbt / Splice

Official Pytorch Implementation for "Splicing ViT Features for Semantic Appearance Transfer" presenting "Splice" (CVPR 2022 Oral)

Home Page:https://splice-vit.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValueError: high is out of bounds for int32 in seed

RafailFridman opened this issue · comments

In the beginning, the seed is being created as int32 for some reason.
Maybe pick a lower seed?

Traceback (most recent call last):
  File "train.py", line 88, in <module>
    train_model(dataroot)
  File "train.py", line 28, in train_model
    seed = np.random.randint(2 ** 32)
  File "mtrand.pyx", line 745, in numpy.random.mtrand.RandomState.randint
  File "_bounded_integers.pyx", line 1343, in numpy.random._bounded_integers._rand_int32
ValueError: high is out of bounds for int32