Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Working #192

Open
surajbidnur opened this issue May 18, 2020 · 2 comments
Open

Not Working #192

surajbidnur opened this issue May 18, 2020 · 2 comments

Comments

@surajbidnur
Copy link

I keep getting this error message given below
TypeError: expected bytes, str found
Using python 3.5

@surajbidnur surajbidnur changed the title ##Not Working Not Working May 18, 2020
@kkheon
Copy link

kkheon commented Jun 13, 2020

I had the same problem.
solution was #115
try with python 2.7
After that, I met the next problem #174
And the solution was #114

@vicgabusa
Copy link

I had the same problem. solution was #115 try with python 2.7 After that, I met the next problem #174 And the solution was #114

THANKSSS!! Using Python 2.7 solved my problem
I did the following lines and get the results: output.mat, output.py

yes | conda create -n caffeTF "python=2.7"
conda activate caffeTF
pip install tensorflow
pip install numpy
pip install --upgrade google-api-python-client
conda config --add channels anaconda
conda install caffe -c willyd

python convert.py --caffemodel ./examples/mnist/lenet_iter_10000.caffemodel ./examples/mnist/lenet.prototxt --data-output-path ./output.mat --code-output-path ./output.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants