Comments (3)
Hey @jeffin07,
In the README
file, I had mentioned the following:
3. For recreating the results reported in the paper, use the repository legacy (for more details refer below).
This repository is the refactored version of the final model, but it uses newer versions of some TensorFlow operations.
Those operations are not available in the old saved checkpoints
The checkpoint files should work with the code in the legacy
folder. Do try that out and let me know if it works.
from dehaze-gan.
@thatbrguy I've tried replicate.py in the legacy folder but in replicate.py we can't give our own test images right, the images are taken from A.npy so that's why I tried main.py file. replicate.py runs fine. The problem with that is I cannot use my own test images
from dehaze-gan.
Hey, sorry for the very late reply. As explained in the README
file (and in the previous comment), the checkpoint files may not be compatible with the code outside the legacy
folder.
If you want to perform inference on custom images using the checkpoint files, an easy way to do that is to modify replicate.py
such that it reads in images rather those .npy
files. Apologies for the inconvenience.
from dehaze-gan.
Related Issues (19)
- 复制模型连接失效 HOT 1
- i keep getting this error whenever i want to train with my own dataset HOT 1
- More training data HOT 1
- Tensorflow version HOT 3
- Color of the images after running extract.py HOT 1
- ValueError: Can't load save_path when it is None. HOT 2
- vgg19.npy not found HOT 2
- 请问显存用的很少,训练很慢是什么原因呢? HOT 1
- FileNotFoundError: [Errno 2] No such file or directory: 'A_train.npy' HOT 3
- make3D HOT 1
- tensorflow version issue HOT 2
- issue in training HOT 9
- The replicate.tar.gz file can't be downloaded HOT 2
- When I finished the work,the checkpoint is directory HOT 1
- could Dehaze-GAN apply on image inpainting? HOT 2
- When I run main.py and replicating.py, I meet a same error. HOT 3
- training image size HOT 1
- Time taken to train and system configuration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dehaze-gan.