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
hello!
i'm trying to use the function "get_img_fit_flow"
when i set 'fit_smpl_size' a float number (0.2)
the following line:
idx = np.random.choice(imgs.shape[0], batch_size*fit_smpl_size, replace=False)
raises an error:
"TypeError: 'float' object cannot be interpreted as an index"
i understand it cannot be an it since we done want to get all the data. could you please explain if i'm missing something?
The text was updated successfully, but these errors were encountered:
hello!
i'm trying to use the function "get_img_fit_flow"
when i set 'fit_smpl_size' a float number (0.2)
the following line:
idx = np.random.choice(imgs.shape[0], batch_size*fit_smpl_size, replace=False)
raises an error:
"TypeError: 'float' object cannot be interpreted as an index"
i understand it cannot be an it since we done want to get all the data. could you please explain if i'm missing something?
The text was updated successfully, but these errors were encountered: