@bader Lesson notebooks no longer even run. I’m pretty upset about this.
Going to see if I need to upgrade the fastai library, or just repull from git, but this is pretty infuriating. This was my time to do the homework, and now I can’t. @dkobran Can we please get some support on this? I reported the bug in the Paperspace UI, but not sure if that’s a black hole or not.
Just want to add some details:
First instance I was using for course was suddenly missing folder and a script from the fastbook folder I had cloned down from Git. Previous restarts of the instance hadn’t caused this.
Creating a brand new notebook on a separate instance, and the class notebooks in course-v4 don’t run. However, after cloning down fastbook repo, those run. Just wondering why I lost files off of a paid instance, and what would have caused that. These files are present in the repo i just cloned down.
I’ve been having similar issues with Paperspace, but making sure I save downloaded images in the ‘storage’ directory and double checking that I always have the same instance type (Free-P5000, sometimes it defaults to another type) seems to be solving it.
Has anyone else had a problem with image cleaning process? When I change the class of an image it throws an error if the filename already exits in the destination class directory - this is usually the case since all images are labelled ‘00000001.jpg’, ‘00000002.jpg’, etc.
Error Traceback (most recent call last)
in
1 #hide
2 for idx in cleaner.delete(): cleaner.fns[idx].unlink()
----> 3 for idx,cat in cleaner.change(): shutil.move(str(cleaner.fns[idx]), path/cat)
Amazingly big congrats on masks4all! There is real science behind this and to be able to spread the message, to accelerate it, has and will continue to save exponentially many lives. The many people whose lives will be saved through this will not even fathom the chain of events that lead to them not dying / suffering.
I can only speak for myself - I have definitely changed my ways thanks to masks4all. Thank you
On an unrelated note - I am only now watching the lecture. Wow Amazing explanation of augmenting the data and did I just see you build a web application in jupyter notebook?!
Just as you think the fastai crew couldn’t be more amazing (I suspect there must be some limit on how awesome you can be in this universe, sort of like the planck constant), something like this happens
I payed around with the SGD example Jeremy showed at the end of the lesson. I think the function to create the speed-array and the function f don’t match?!
I initially had similar issues and ended up creating a new paperspace notebook because I noticed I didn’t have the P5000 instance selected. But now even with the P5000 instance, had issues with my downloaded image directories getting deleted and even my notebooks getting deleted. So downloading to github is a good idea. I thought it’s because I’m using the free instance but it sounds like it can happen even on the paid instance.
I keep getting the below error on binder. I have uploaded the 02_production.ipynb on by github and provided the URL to /voila/render/02_production.ipynb. What am I doing wrong?
Cool. For the app we only need a minimal notebook with that loads the model and uses the widgets; see the bear example here https://github.com/fastai/bear_voila. You’ll need requirements.txt in your repository.
Edit: Here’s my app; I don’t know why but the ‘Classify’ button doesn’t work in my Microsoft Edge (neither mine, nor in ‘bear_voila’). It works just fine in Chrome and Safari.
I understand that we are using 224x224 because that is what the original Resent model was trained on, if you are training a model from scratch, I think you can sue any size.