Image Classification Data (Fashion-MNIST)

http://d2l.ai/chapter_linear-networks/fashion-mnist.html

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.
import sys
sys.path.insert(0, β€˜β€¦β€™)

thanks

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.

1 Like

Thank you very much:smile: