codeslake / DMENet

[CVPR 2019] Official TensorFlow Implementation for "Deep Defocus Map Estimation using Domain Adaptation"
GNU Affero General Public License v3.0
122 stars 24 forks source link

what is the version of tensorlayer? #3

Closed PeiqinSun closed 4 years ago

PeiqinSun commented 4 years ago

In your readme.md, the version of tensorlayer is 1.2.1, but 1.2.1 doesn't work. Is there a update of tensorlayer? if yes, what is the newest version of tensorlayer and tensorflow?

codeslake commented 4 years ago

Sorry for the late reply. You should use tensorlayer 1.2.1. If I remember correctly, there is an error on upsampling layer if you use different version. Would you share the error message? Thanks.

JQJ001 commented 4 years ago

The version of tensorlayer is 1.2.1 and there's an error:
Traceback (most recent call last): File "main.py", line 2, in from utils import File "./DMENet-master/utils.py", line 3, in from tensorlayer.prepro import ModuleNotFoundError: No module named 'tensorlayer.prepro'

Looking forward to your reply.

codeslake commented 4 years ago

Uhm.. I will clarify exact versions of required libraries ASAP. For now, try tensorflow 1.13.1 and tensorlayer 1.11.1. I've just checked my old docker image with the libraries and it works OK.

JQJ001 commented 4 years ago

Well done! My problem is solved. Thank you.

codeslake commented 4 years ago

Apology for the late response once again! As I mentioned, I will update the repo with the clear versions of the libraries!