You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (6,) + inhomogeneous part.
#591
Open
iagupov opened this issue
Jul 31, 2023
· 5 comments
File "mtrand.pyx", line 936, in numpy.random.mtrand.RandomState.choice
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (6,) + inhomogeneous part.
I'm following a regular procedure explained in README to run train.py, but I stacked with this error. This error comes from utils\augmentations.py in RandomSampleCrop/_ _ call _ _ at the line mode = random.choice(self.sample_options), but I it's unclear how to fix this.
Thanks for any help
The text was updated successfully, but these errors were encountered:
I'm following a regular procedure explained in README to run train.py, but I stacked with this error. This error comes from utils\augmentations.py in RandomSampleCrop/_ _ call _ _ at the line
mode = random.choice(self.sample_options)
, but I it's unclear how to fix this.Thanks for any help
The text was updated successfully, but these errors were encountered: