Giter Club home page Giter Club logo

Comments (10)

CVKim avatar CVKim commented on August 29, 2024

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.

CVKim avatar CVKim commented on August 29, 2024

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.

CVKim avatar CVKim commented on August 29, 2024

Could the issue be due to the images being rotated 90 degrees?

from dfmgan.

CVKim avatar CVKim commented on August 29, 2024

@Ldhlwh

"Is there no solution?"

from dfmgan.

Ldhlwh avatar Ldhlwh commented on August 29, 2024

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.

CVKim avatar CVKim commented on August 29, 2024

image

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.

CVKim avatar CVKim commented on August 29, 2024

@Ldhlwh

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.

Ldhlwh avatar Ldhlwh commented on August 29, 2024

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.

CVKim avatar CVKim commented on August 29, 2024

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.

Ldhlwh avatar Ldhlwh commented on August 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.