Comments (13)
@yu4u
(n2n) [410@mu01 n2n2]$ python test_model.py --weight_file clean/weights.001-109.759-28.05869.hdf5 --image_dir dataset/Set14
/home/410/anaconda3/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float
to np.floating
is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type
.
from ._conv import register_converters as _register_converters
Using TensorFlow backend.
WARNING:tensorflow:From /home/410/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
2019-04-03 18:57:29.385352: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-04-03 18:57:29.394111: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2095014999 Hz
2019-04-03 18:57:29.395846: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x2b90ea0637c0 executing computations on platform Host. Devices:
2019-04-03 18:57:29.396044: I tensorflow/compiler/xla/service/service.cc:158] StreamExecutor device (0): ,
: cannot connect to X server 112.38.217.89:10.0
from noise2noise.
Please use --output_dir
option to output results images or run the script on a local PC instead of running on a server.
from noise2noise.
Your source test results are up and running, and the model is up and running. Thank you very much for your contribution.Thanks for your help.
I have a question right now @yu4u
I only have a polluted picture here, I want to use your source code to directly test whether it can be repaired, but I have not found a way to input your source code to go, in this request for your help, thank you very much!
from noise2noise.
If you want to perform denoising to already noisy images, use --test_noise_model clean.
As described in readme.
from noise2noise.
I have tried the following input,but there is no output,so I would like to consult you, thank you for your reply @yu4u
python3 test_model.py --weight_file model/weights.047-2.317-24.30238_impulse_noise.hdf5 --image_dir teat_img/baby.png --test_noise_model clean --output_dir img/
from noise2noise.
from noise2noise.
image_dir
should be directory.
from noise2noise.
Thank you for your reply @yu4u
Thank you for your help. I have successfully run it.
But I still have some questions to ask you. Because my photo is badly damaged, I cannot tell which type of noise it is. Adopting your pretrain model doesn't seem to work. Should I train with more of these images and try to see if it works?
from noise2noise.
If I type the following command, is it correct?
python3 train.py --image_dir dataset/mydata --test_dir dataset/mytes --image_size 128 --batch_size 8 --lr 0.001 --source_noise_model clean --target_noise_model clean --val_noise_model clean --loss l0 --output_path mymodel
from noise2noise.
Might correct.
I cannot tell which type of noise it is
But, it would not work.
This repository aims at reproducing noise2noise training, and not trying to remove various types of noises.
For general purpose, you might be able to find other more appropriate repository.
from noise2noise.
Please read original paper about the restrictions of noise2noise approach.
from noise2noise.
image_dir
should be directory.
It would be great if you be more specific. What exactly causes this error and how can we solve it if we are deploying from the server? thanks in advance @yu4u
from noise2noise.
--image_dir
should be directory that contains test images.
from noise2noise.
Related Issues (20)
- Already have Input-Output Noisy Pairs HOT 1
- Hi ! Any kinds of pictures can be fit for your net? HOT 12
- How do I get this to work and can it work for what I want it to? HOT 8
- How do clean document scans with this? HOT 1
- How do I use the trained model file to remove noise from my photos? HOT 1
- How to modify random text noise for custom image noise? HOT 1
- can this use in point cloud denoising? HOT 1
- I want to use our own noisy data to train the model HOT 3
- Tensorflow error HOT 5
- run error
- AttributeError: module 'tensorflow' has no attribute 'log' HOT 2
- Can not generate the weight file when use my train images HOT 4
- remove other watermarking HOT 2
- Deleting dataset causes error (Google Colab) HOT 2
- I have GPU GeForce GTX 1050 and 32GB RAM but still issuse of OOM HOT 2
- one-dimensional data instead of pictures HOT 1
- There's some problem in the training process
- EEE students, Beginners in the field need assistance
- loss nan or inf HOT 7
- > @HongChow
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 noise2noise.