Comments (7)
Hi, @nene211.
Thank you for using this repository.
I see you have a few questions, so I'll answer them in order.
When I use my own image dataset to train the WGAN, both of its G_loss and D_loss are negative numbers, I wonder if this situation is right?
Taking negative values is not necessarily a false result. Please check the two losses continue to change stably. (It may be hard work to check the fluctuation of the two losses in this repository.)
And Im not really understand what the class mean, for example, I have 100 normal images and 100 ano images, so I put 100 normal images in the path "your own dataset-dataset-train-class0", and put the 100 ano images in the path"your own dataset-dataset-test-class0", then I run wgangp.py, izif.py, detection.py and save.py one by one?
Yes! You can get the training and test results by executing the following commands in order.
python train_wgangp.py "your own dataset-dataset-train-class0"
python train_encoder_izif.py "your own dataset-dataset-train-class0"
python test_anomaly_detection.py "your own dataset-dataset-train-class0"
python save_compared_images.py "your own dataset-dataset-train-class0" --n_iters 0 --n_grid_lines 10
and the size of my pictures are all 64*64, so...is something wrong in my dataset?
That image size is fine.
I hope that answers your questions.
from f-anogan.
thank you so much! It runs well on my image dataset and the accuracy is high! Thank you!!!
from f-anogan.
Hi, @nene211. Thank you for your question.
That's correct. If your image is not 64×64, it will be automatically resized to the default value (64×64).
from f-anogan.
OkOk,thank you again for your excellent codes and answers, you really help me a lot!
from f-anogan.
and the size of my pictures are all 64*64, so...is something wrong in my dataset?
from f-anogan.
well...i get a high accurary, the only problem is the loss...
from f-anogan.
Well I have another question now...@A03ki
I want to know that if my image is not 64*64, should i change some parameters of the model? Or i just put my images in the train/test folders and run without changing anyting of the codes?
from f-anogan.
Related Issues (12)
- Graph values is off. HOT 4
- I want to train this f-anoGAN networks with my image datasets. HOT 1
- Question about images_e encoder output HOT 2
- I want to train this f-anoGAN networks with my image datasets. HOT 8
- Has anyone succeeded in DAGM2007 dataset? HOT 1
- python setup.py install HOT 3
- Huge generator and tiny discriminator? HOT 3
- How can I implement a validation dataset? HOT 5
- Train AnoGAN on pcam dataset in h5 format HOT 3
- Need absolute value for image subtraction HOT 1
- wrong line in mvtec jupyter notebook HOT 3
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 f-anogan.