Hi all
I’m a Data Science intern with limited Computer Science knowledge so apologies for the noobish questions.
I am following the download.ipynb notebook by Jeremy on how to web scrape and create your own image dataset.
Q: is it supposed to return ‘null’ when running the first javascript code in the notebook? I have disabled AdBlock plus.
Also, how would I then continue to follow the instructions using Google Colab?
My knowledge about directories, paths, servers etc. is rudimentary so please forgive me.
Thanks,
Thabied
Hi Profile - thabiedmajal - fast.ai Course Forums hope you are having a good day.
When I did this note book I didn’t run the code on notebook I ran it on my desktop and dragged the files to the Google drive.
Also people have had problems with different browsers, so try different browsers the most popular one has been Google Chrome.
Others said they had to run Chrome in Incognito mode for it to work.
You may also have to turn off any add blocker software you may be using.
Please see these two links for other info.
Goal : download google images from your notebook (locally, Colab, etc…) using python
TLDR: run the commands in bold here below
Some people are having trouble downloading google images using the javascript trick showed in Lesson2 (Part1) in the lesson2-download.ipynb notebook.
There is an easier way to download google images using the google-images-download python module in your jupyter notebook.
Here are the steps to download the different bears images
First install the python module. In …
@jeremy This thread offers better methods than the javascript code in lesson2-download notebook. The javascript code approach is problematic because it doesn’t work in all browsers, fails with blockers, and isn’t a solution for those who don’t have a way to access a browser UI (colab et al).
Hope this helps mrfabulous1
1 Like