fastbook icon indicating copy to clipboard operation
fastbook copied to clipboard

NameError: name "search_image_ddg" is not defined - Paperspace Gradient

Open ghost opened this issue 4 years ago • 2 comments
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:

ghost avatar Feb 23 '21 11:02 ghost

https://forums.fast.ai/t/search-images-ddg-not-working-in-paperspace/83576

GriffinHines avatar Jul 15 '21 02:07 GriffinHines

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

smt07 avatar Oct 09 '22 09:10 smt07