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

requirements versions #22

Open
Borda opened this issue May 13, 2020 · 4 comments
Open

requirements versions #22

Borda opened this issue May 13, 2020 · 4 comments

Comments

@Borda
Copy link

Borda commented May 13, 2020

Hello, I have so problem with running the demo even after porting to py3...
Could you add package version to requirements.txt to be able to run the demo, Thx

@Borda
Copy link
Author

Borda commented Aug 31, 2020

@yzhq97 any update here? :]

@blutjens
Copy link

blutjens commented Sep 10, 2020

I also ran into issues with versions. The following changes made it run on my machine:

To adapt tf2 to tf1: Change the import tf in VGG16.py and Registration.py to
Source: datamllab/rlcard#96

import tensorflow.compat.v1 as tf
tf.disable_v2_behavior() 

To adapt to numpy version: Add these lines at the beginning of VGG16.py
Source: https://stackoverflow.com/questions/55890813/how-to-fix-object-arrays-cannot-be-loaded-when-allow-pickle-false-for-imdb-loa/56062555

# save np.load
np_load_old = np.load

# modify the default parameters of np.load
np.load = lambda *a,**k: np_load_old(*a, allow_pickle=True, **k)

To adapt to python2: See issue by captainst #15

@blutjens
Copy link

My machine has:

numpy==1.18.5
scipy==1.4.1
opencv-python-headless==4.4.0.42
tensorflow==2.3.0
tensorflow-estimator==2.3.0
lap==0.4.0

@2970765122
Copy link

请问这个环境可以运行成功吗?为什么我下载的init函数是空的?能打扰您一点时间可以把这个发到我的邮箱吗?2970765122@qq.com 我将万分感谢

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