Comments (10)
I understand that in the paper's performance evaluation, 1,000 images were generated for each defect class type. On GitHub, it seems like the transfer was done by repeating the process 400 times to generate defect class models, after which 1,000 images were generated for each class, and then only the classification task was used for performance evaluation. Is that correct?
I want to evaluate the performance as described in the paper, so could you provide detailed information on the following?
Fine-tuning method: Did you generate the transfer models by repeating the process 400 times, as mentioned on GitHub?
Performance metrics (classification): How was the performance evaluation for classification conducted? Could you explain the exact steps taken?
Your detailed explanation would be greatly appreciated!
from dfmgan.
I followed the instructions from this link and converted the images to RGB format to create the dataset.zip file. Do I need to use a different approach during training because of this conversion?
from dfmgan.
Could the issue be due to the images being rotated 90 degrees?
from dfmgan.
"Is there no solution?"
from dfmgan.
Could the issue be due to the images being rotated 90 degrees?
See this issue: #6
I followed the instructions from this link and converted the images to RGB format to create the dataset.zip file. Do I need to use a different approach during training because of this conversion?
You don't really need to modify this line if you are using RGB images. It is for datasets in grayscale only.
Fine-tuning method: Did you generate the transfer models by repeating the process 400 times, as mentioned on GitHub?
If you mean 400 kimgs by mentioning repeating the process 400 times, then yes.
Performance metrics (classification): How was the performance evaluation for classification conducted? Could you explain the exact steps taken?
I suppose the description in our paper has already provided sufficient details to reproduce the classification experiments.
from dfmgan.
Even with rotate90 and rotate disabled, the issue persists.
The image below is the final kimg result of a normal image, and it doesn't seem to have any noticeable issues, so it's difficult to pinpoint the cause.
from dfmgan.
Author, if possible, could you provide pkl files for zipper and transistor model defect types?
I would like to conduct some experiments with them, and they would be incredibly useful. Thank you!
from dfmgan.
Even with rotate90 and rotate disabled, the issue persists.
The image below is the final kimg result of a normal image, and it doesn't seem to have any noticeable issues, so it's difficult to pinpoint the cause.
Not quite sure of the reason. I've never seen similar cases before. I think you may consider turning off the whole ADA.
Author, if possible, could you provide pkl files for zipper and transistor model defect types?
These files are in a server at my institute (if I didn't clean them up), and unfortunately for some personal reasons I won't be able to access it in a couple of months.
from dfmgan.
So, to clarify, if I run the provided cmd and code from the official GitHub, everything should work correctly, and the rotation during training shouldn't be an issue, right?
I've trained with normal images before, but I will try again. However, even after multiple trials with normal images, the results were consistently clean, so the issue only arises during defect training.
Also, could you please confirm if using img = np.array(PIL.Image.open(fname).convert('RGB')) when creating the .zip file will resolve the issue?
from dfmgan.
So, to clarify, if I run the provided cmd and code from the official GitHub, everything should work correctly, and the rotation during training shouldn't be an issue, right?
The default settings work well for hazelnuts, but do not guarantee to perform as well on other categories. You may have to try different hyparameters and/or tune ADA for better results.
Also, could you please confirm if using img = np.array(PIL.Image.open(fname).convert('RGB')) when creating the .zip file will resolve the issue?
As I said above, changing this line resolves nothing if you are already using RGB images.
from dfmgan.
Related Issues (20)
- 使用图片label作为生成条件的疑惑 HOT 2
- RuntimeError: DataLoader worker (pid(s) 68788) exited unexpectedly
- it doesn't make any pkls/ng.pkl HOT 1
- SDGAN, Defect-GAN HOT 1
- Supplementary material HOT 2
- RuntimeError: Ninja is required to load C++ extensions HOT 4
- “Discriminator.b16.conv1.weight”出现异常 HOT 1
- res_block_match_dis error HOT 5
- 预训练时报错 HOT 4
- hazelnut_good.pkl和hazelnut_hole.pkl是如何训练生成的 HOT 3
- 环境问题 HOT 2
- hazelnut hole defect train HOT 5
- 生成图像效果问题 HOT 1
- dataset_tool.py /gray scale image HOT 1
- 训练第二阶段显存不够 HOT 2
- 预训练时间 HOT 5
- Pytorch version Compatibility HOT 2
- Training MVTec Wood datasets & Different inference results HOT 3
- 生成图像的mask可以自己指定吗,即使用自己的mask来生成图像 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 dfmgan.