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

Tensorflow 1.3.0 no longer available #97

Open
muenchmark opened this issue Jun 20, 2019 · 7 comments
Open

Tensorflow 1.3.0 no longer available #97

muenchmark opened this issue Jun 20, 2019 · 7 comments

Comments

@muenchmark
Copy link

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!

@sandhyalaxmiK
Copy link

Fir install opendr and then tensorflow
pip install opendr==0.77
pip install tensorflow==1.3.0

@chqiwang
Copy link

what is your python version? tf1.3.0 is not available on python 3.7

@salmedina
Copy link

The main README file says it requires Python 2.7

@2lcm
Copy link

2lcm commented Jan 16, 2020

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

@chaowentao
Copy link

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

@mohammedhelal388
Copy link

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:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-kmu9k326/opendr/setup.py'"'"'; file='"'"'/tmp/pip-install-kmu9k326/opendr/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-w2fz7__8
cwd: /tmp/pip-install-kmu9k326/opendr/
Complete output (6 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-kmu9k326/opendr/setup.py", line 40
print "Downloading %s" % osmesa_fname
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Downloading %s" % osmesa_fname)?
----------------------------------------
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

@Ironbrotherstyle
Copy link

Hello, Did you solve the problem? I followed the instruction to use python2.7, but encountered many problems when installing opendr and deepdish.

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

No branches or pull requests

9 participants