ethereon / caffe-tensorflow

Caffe models in TensorFlow
Other
2.8k stars 1.04k forks source link

Not Working #192

Open surajbidnur opened 4 years ago

surajbidnur commented 4 years ago

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

kkheon commented 4 years ago

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 commented 2 years ago

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