Open Anirudh257 opened 5 years ago
Replaced data[0] with data as it was causing:
IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Python number
Replaced data[0] with data as it was causing: