Closed mountains-high closed 1 year ago
Hi, you can download Train.zip
and Test.zip
, save them to root/download
, where root
is a dir path, e.g., root = 'home/abc/nmnist'
.
Then in your code, you should use
train_set = n_mnist.NMNIST(root=root, ...)
.
Hello,
I'm sorry for late reply, I tried but it did not work:
parser.add_argument('-data-dir', default = './abc/nmnist/', type=str, help='root dir of NMNIST dataset')
train_set = NMNIST(root=args.data_dir, train=True, data_type='frame', frames_number=args.T, split_by='number')
test_set = NMNIST(root=args.data_dir, train=False, data_type='frame', frames_number=args.T, split_by='number')
and Parent folder for "Train.zip" was /home/user/Desktop/spikingjelly_/nmnist_/abc/nmnist/download
Can I ask, maybe it is because of the
NotImplementedError: This dataset can not be downloaded by SpikingJelly, please download [Train.zip] from [https://www.garrickorchard.com/datasets/n-mnist] manually and put files at ./abc/nmnist/download.
(dot) after download? as(download.)?
Thank you
It worked after this, the problem was with the name "Train.zip", I am so sorry for my mistake.
:~/Desktop/spikingjelly_/nmnist_/abc/nmnist/download$ ls
Test.zip 'Train .zip'
:~/Desktop/spikingjelly_/nmnist_/abc/nmnist/download$ mv 'Train .zip' Train.zip
Thank you for your help
Good day,
While downloading N-MNIST dataset, I got this message:
I put Train.zip under the folder
../../../data/download/
. However, it did not work. Could you help me to solve this issue, please?Thank you ~