Thank you for your really well-written book. In the getting the data part, you have used double import sys statements.
I did not understand this part. What does ‘‘sys’’ works for.
We use this statement so that we can import and use some python files written in some “path” directory. So
sys.path.insert(0, path) will add path in our imports. And now we can import files from “path”.
I hope that makes sense.
Thank you very much:smile:
Why we use
train_iter = gluon.data.DataLoader(mnist_train.transform_first(transformer), batch_size, shuffle=True, num_workers=get_dataloader_workers())
I get the following error:
lib/python3.7/site-packages/mxnet/gluon/data/dataloader.py", line 678, in __del__ AttributeError: 'NoneType' object has no attribute 'Pool'