Open muenchmark opened 5 years ago
Fir install opendr and then tensorflow pip install opendr==0.77 pip install tensorflow==1.3.0
what is your python version? tf1.3.0 is not available on python 3.7
The main README file says it requires Python 2.7
It requires python2.7 but pickle needs python3!!! This does work dd = pickle.load(f, encoding="latin-1") => dd = pickle.load(f)
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/app/hmr/demo.py", line 147, in
and docker is useful for tensorflow 1.3 docker pull tensorflow/tensorflow:1.3.0-gpu
It requires python2.7 but pickle needs python3!!! This does work dd = pickle.load(f, encoding="latin-1") => dd = pickle.load(f)
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/app/hmr/demo.py", line 147, in main(config.img_path, config.json_path) File "/app/hmr/demo.py", line 121, in main model = RunModel(config, sess=sess) File "src/RunModel.py", line 56, in init self.smpl = SMPL(self.smpl_model_path, joint_type=self.joint_type) File "src/tf_smpl/batch_smpl.py", line 32, in init dd = pickle.load(f, encoding="latin-1") TypeError: load() got an unexpected keyword argument 'encoding'
and docker is useful for tensorflow 1.3 docker pull tensorflow/tensorflow:1.3.0-gpu
may you can delete "encoding", I try it and succeed
guys i am having the same problem but the soltions above didnt work i run these commands but still not working pip install opendr==0.77 pip install tensorflow==1.3.0
when i installed the opender an error appeard like this
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
what i am suppose to do because i need tensorflow 1.3.0
Hello, Did you solve the problem? I followed the instruction to use python2.7, but encountered many problems when installing opendr and deepdish.
Thanks for posting your code, I can't wait to start looking at it more. I'm having trouble with the install. When I do "pip install tensorflow==1.3.0", it comes back with an error saying the oldest version available is 1.13.1. When I install this version I get errors running the demo when it is trying to draw the skeleton stating "name 'xrange' is undefined". Do you know where I can get tf 1.3.0 or is there a way to run with a newer version? Thanks!