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
File "/net/vast-storage/scratch/vast/gablab/hgazula/nobrainer/nobrainer/dataset.py", line 338, in None *
lambda x, y: (x, tf.one_hot(y, self.n_classes))
TypeError: Value passed to parameter 'indices' has DataType float32 not in list of allowed values: uint8, int8, int32, int64
Solution: cast y into one of the int types and the rest should flow.
TODO: check the same with n_classes = 2
The text was updated successfully, but these errors were encountered:
Solution: cast
y
into one of theint
types and the rest should flow.TODO: check the same with n_classes = 2
The text was updated successfully, but these errors were encountered: