Code Monkey home page Code Monkey logo

Comments (8)

sdvdxl avatar sdvdxl commented on May 27, 2024 99

run command pip install scikit-image

from open_nsfw.

JeffreyYH avatar JeffreyYH commented on May 27, 2024 43

I used apt-get install and solved my problem. Run the following commands,

sudo apt-get install python-matplotlib python-numpy python-pil python-scipy

sudo apt-get install build-essential cython

sudo apt-get install python-skimage

from open_nsfw.

Ashutosh1995 avatar Ashutosh1995 commented on May 27, 2024

Thanks a lot @JeffreyYafeiHu , it worked 👍

from open_nsfw.

vokhidovhusan avatar vokhidovhusan commented on May 27, 2024

Thank you @JeffreyYafeiHu. it helped

from open_nsfw.

bjce avatar bjce commented on May 27, 2024

Hello

I also have problem. When I run this command

from skimage import io
io.use_plugin("pil", "imread")
img = io.imread("/Users/mymac/Downloads/image.png")
io.use_plugin("qt", "imshow")
io.imshow(img,fancy=True)
io.show()

I get the following error message:

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-24-8355b47d9c39> in <module>()
----> 1 io.use_plugin("qt", "imshow")
      2 io.imshow(img,fancy=True)
      3 io.show()

/anaconda3/lib/python3.6/site-packages/skimage/io/manage_plugins.py in use_plugin(name, kind)

/anaconda3/lib/python3.6/site-packages/skimage/io/manage_plugins.py in _load(plugin)

ModuleNotFoundError: No module named 'skimage.io._plugins.qt_plugin'

from open_nsfw.

qianjun1987 avatar qianjun1987 commented on May 27, 2024

hi, I install docker and Build a caffe docker image sucessfully,
but is run the programm, it report the error.
please help me.

root@iZ25q8sqgi7Z:~/open_nsfw# docker run caffe:cpu caffe --version
libdc1394 error: Failed to initialize libdc1394
caffe version 1.0.0-rc3

root@iZ25q8sqgi7Z:~/open_nsfw# docker run --volume=$(pwd):/workspace caffe:cpu \

python ./classify_nsfw.py
--model_def nsfw_model/deploy.prototxt
--pretrained_model nsfw_model/resnet_50_1by2_nsfw.caffemodel
test_image.jpg
libdc1394 error: Failed to initialize libdc1394
Traceback (most recent call last):
File "./classify_nsfw.py", line 16, in
import caffe
File "/opt/caffe/python/caffe/init.py", line 1, in
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver
File "/opt/caffe/python/caffe/pycaffe.py", line 15, in
import caffe.io
File "/opt/caffe/python/caffe/io.py", line 2, in
import skimage.io
ImportError: No module named skimage.io
直接

pip install scikit-image

from open_nsfw.

jmjmjm123 avatar jmjmjm123 commented on May 27, 2024

@qianjun1987 it helped ,thanks !

from open_nsfw.

Bech007 avatar Bech007 commented on May 27, 2024

hi
how install skimage on centos 7

from open_nsfw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.