fastbook
fastbook copied to clipboard
NameError: name "search_image_ddg" is not defined - Paperspace Gradient
trafficstars
Hello everyone,
in the following I'll try to specify my issue:
Problem: Getting NameError: name "search_image_ddg" is not defined when calling the function search_image_ddg.
Environment:
- paperspace/fastai:2.0-CUDA9.2-fastbook-v0.1.0
- free GPU tier
What I have tried:
- from fastai import *
- from fastbook import * (as stated here)
- from utils import * (as stated in this closed issue)
https://forums.fast.ai/t/search-images-ddg-not-working-in-paperspace/83576
this list of code should work, let me know if it does not
pip install fastbook
#hide ! [ -e /content ] && pip install -Uqq fastbook import fastbook fastbook.setup_book()
#hide from fastbook import * from fastai.vision.widgets import *
!pip install -Uqq duckduckgo_search