gabrieleilertsen / hdrcnn

HDR image reconstruction from a single exposure using deep CNNs
https://computergraphics.on.liu.se/hdrcnn/
BSD 3-Clause "New" or "Revised" License
502 stars 101 forks source link

Error #34

Closed Woody1024 closed 4 years ago

Woody1024 commented 4 years ago

Every time I try to run the program I geht this error:

Traceback (most recent call last): File "hdrcnn_predict.py", line 65, in FLAGS = tf.flags.FLAGS AttributeError: module 'tensorflow' has no attribute 'flags'

codeman008 commented 4 years ago

I have the same problem. Have you solved it?

Woody1024 commented 4 years ago

 Yes, I did: The problem is the version of the python libraries I emailed the developer and they tested it with: tensorflow 1.8 and 1.11, tensorlayer 1.4.3, OpenEXR 1.3.0.

However the problem seems to be tensorflow 2.0 anything below that should work.

Best regards, Felix Holzapfel

Am 24.10.2019 um 10:47 schrieb codeman008 notifications@github.com:



I have the same problem. Have you solved it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/gabrieleilertsen/hdrcnn/issues/34?email_source=notifications&email_token=ANQSQCWESWKR2NVYJQWJAGLQQFOLBA5CNFSM4JB6SWZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECEHSEQ#issuecomment-545814802, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANQSQCQS2J22ZDA7WBSTNQLQQFOLBANCNFSM4JB6SWZA.

netizen136 commented 3 years ago

Thanks. This solved the error for me too.