after running my model once .when i tried
i got this as a result array([1, 1, 1, 1, 1, 2, 2, 2, 2, 2])
and when i tried
i got this result
[’.ipynb_checkpoints’, ‘idli’, ‘samosa’]
i manually removed .ipynb from my training set ,deleted whole dataset, then uploaded the dataset again
but still i encountered the same issue .does anybody know how to resolve it
Your Jupyter Notebook might be inside the data folder. It needs to be outside of the data folder path. Jupyter will always create the .ipynb_checkpoints because it auto-saves notebooks. Move the Notebook and it should work fine.
so i guess my jupyter notebook is not inside data foder
and even when i moved my jupyter notebook,to /home/ubuntu/fastai/courses ,i faced an error which was module not found error i.e. no module name fastai
as you can clearly see my data folder and my file named thirdattempt are in the same directory
what i learned till now by facing this issue is that
when you run a jupyter notebook, it automatically creates .ipynb_checkpoints class in the directory i’m currrently in
but when i ran dogbreed ,lesson1 all had the same cwd as my file which i’m having trouble with they didn’t had this issue
so,i’m little bit concerned why this file of mine has had this weird issue
can anyone look into my issue and help me in resolving it.
did you create a ipython notebook in your /data folder that you are using and then delete it? Like jeremy suggested you use use ls -l to check whether you have another file in the data directory where your folders “idli” and “samosa” are located.
I’m not sure how to delete these checkpoints or how to stop them from forming as the only way I can think that they are forming is when the notebook is inside the data folder, which it isn’t I don’t think aha.
I don’t think so this is deleting the .ipynb directory as it mentions that it’s removing the TMP directory
We can do it manually using the notebook homepage via selecting those little check ones
use the terminal’s rm-f (warning it’s force remove , it will delete everything in that directory)