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
When trying to change cifar-10 to cifar-100(In cifar-10-senet-18-mish), I try to change the code in the second cell like this:
def get_training_dataloader(train_transform, batch_size=128, num_workers=0, shuffle=True):
""" return training dataloader
Args:
train_transform: transfroms for train dataset
path: path to cifar100 training python dataset
batch_size: dataloader batchsize
num_workers: dataloader num_works
shuffle: whether to shuffle
Returns: train_data_loader:torch dataloader object
"""
Hi. Can you please tell me the environment in which you're running this code/ GPU on which the code is running. Or you can simply provide me the nvidia-smi output. I will try to replicate the error you had tomorrow. Regarding Stats.ipynb, you'll have to load in the results of your experiment in npz format to generate the graph. For the results shown, it was generated for the CalTech-256 dataset benchmark.
@digantamisra98 Hi, thanks for your detailed reply. I was trying to run the notebook cifar-10-senet-18-mish, with a Ubuntu16.04+torch1.13+CUDA10.1+NVIDIA driver430.50, and on a 1080Ti GPU.
I am able to run the code on cifar-10 with its initial form, however when I'm trying to change the code on cifar-100, it raises the above error. I'm not quite sure how to implement on cifar-100, so I just try to change cifar-10 in the code to cifar-100, as it's shown above.
I tried to search for the error, somebody says that it's a category label number problem. However it is hard for me to solve it.
@digantamisra98 A little more confusion... Could you give me a guidance of how to generate the .npz file for Caltech-256 dataset? I'd appreciate it a lot!
When trying to change cifar-10 to cifar-100(In cifar-10-senet-18-mish), I try to change the code in the second cell like this:
def get_training_dataloader(train_transform, batch_size=128, num_workers=0, shuffle=True):
""" return training dataloader
Args:
train_transform: transfroms for train dataset
path: path to cifar100 training python dataset
batch_size: dataloader batchsize
num_workers: dataloader num_works
shuffle: whether to shuffle
Returns: train_data_loader:torch dataloader object
"""
define test dataloader
def get_testing_dataloader(test_transform, batch_size=128, num_workers=0, shuffle=True):
""" return training dataloader
Args:
test_transform: transforms for test dataset
path: path to cifar100 test python dataset
batch_size: dataloader batchsize
num_workers: dataloader num_works
shuffle: whether to shuffle
Returns: cifar100_test_loader:torch dataloader object
"""
However, it raises RuntimeError: CUDA error: device-side assert triggered.
Could you help me of how to do cifar-100?
Besides, I'd like to know how to use stats.ipynb...Thanks a lot!!!
@digantamisra98
The text was updated successfully, but these errors were encountered: