You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, thank the authors for providing this excellent project!
Here I want to report a small problem and corresponding solution.
I prefer pip to docker. pip always install the latest version of each package, and this has caused some compatibility problems (if you install it in a new environment Now).
Traceback (most recent call last):
File "main.py", line 57, in <module>
model = GenerateNet()
File "D:\DeepNormals\model.py", line 134, in
GenerateNet
Network = tf.nn.l2_normalize(Network, dim = 3)
File "D:\VirtualEnvs\deep_normal\lib\site-packages\tensorflow\python\util\dispatch.py",
line 201, in wrapper
return target(*args, **kwargs)
TypeError: l2_normalize_v2() got an unexpected keyword argument 'dim'
[Fix]
I suggest specify the version of each package in requirements.txt.
Firstly, thank the authors for providing this excellent project!
Here I want to report a small problem and corresponding solution.
I prefer
pip
todocker
.pip
always install the latest version of each package, and this has caused some compatibility problems (if you install it in a new environment Now).And then execute:
python main.py
Error:
[Fix]
I suggest specify the version of each package in requirements.txt.
pip install -r requirements.txt
requirements.txt:
The text was updated successfully, but these errors were encountered: