cnn-registration
cnn-registration copied to clipboard
requirements versions
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
@yzhq97 any update here? :]
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: https://github.com/datamllab/rlcard/issues/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
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