facebookarchive / tutorials

Caffe2 Tutorials
Apache License 2.0
124 stars 60 forks source link

about Tutorials Installation third-party libraries #9

Closed JackKuo666 closed 5 years ago

JackKuo666 commented 5 years ago

hi,thanks for your tutorials, when i install Tutorials Installation third-party libraries with anaconda depen on :https://caffe2.ai/docs/tutorials.html i foud a error: matplotlib 2.1.0 depen pyparsing>=2.0 but caffe2 in "conda install -c caffe2 caffe2-cuda9.0-cudnn7" depen pyparsing = 1.5.6 so when i

conda install pyparsing = 2.0

then :

jupyter notebook

in "Loading_Pretrained_Models.ipynb" i found:

Code

Before we start, lets take care of the required imports.

from __future__ import absolute_import

from __future__ import division

from __future__ import print_function

from __future__ import unicode_literals

%matplotlib inline

from caffe2.proto import caffe2_pb2

import numpy as np

import skimage.io

import skimage.transform

from matplotlib import pyplot

import os

from caffe2.python import core, workspace, models

import urllib2

import operator

print("Required modules imported.")

WARNING:root:This caffe2 python run does not have GPU support. Will run in CPU only mode.

Required modules imported.

JackKuo666 commented 5 years ago

so my question is have you Tutorials with python=3.x depends ,so that ,there is slow depends mismatch

orionr commented 5 years ago

The Caffe2 tutorials should be runnable with Python 3. Please feel free to put up a pull request to update dependencies if they don't match. Thanks.