Coder Social home page Coder Social logo

Comments (11)

AlperDiktas avatar AlperDiktas commented on June 14, 2024 1

hi,
I download the visa and trained first, then tested. Reasults are really good.

image

from inctrl.

guangpintao avatar guangpintao commented on June 14, 2024 1

Same lower reproduction twice @Diana1026, please check the few-shot sample set for selection. BTW, is the performance high affected by few-shot sample? image

image Result of capsules is good.

from inctrl.

Diana1026 avatar Diana1026 commented on June 14, 2024

Could you please check if your pre-trained model and few-shot samples are correct? I downloaded the repository and tested the model again, and there was no problem. In addition, the test data statistics are provided in the Appendix and you can check your annotation JSON files based on it.

from inctrl.

Shmily-YH avatar Shmily-YH commented on June 14, 2024

thanks for your reply!

I added the pre-trained model path in _C.TEST_CHECKPOINT_FILE_PATH, and the run command is: python test.py --val_normal_json_path ../../visa/camdle_val_normal.json --val_outlier_json_path ../../visa/candle_val_outlier.json --category candle --few_shot_dir ../../visa/2

i checked the annotation json files, 100 normal images, 100 defect images, it seems everything is ok... 0.0

from inctrl.

wyxogo avatar wyxogo commented on June 14, 2024

I also got lower performance (for visa candle, AUC-ROC: 0.8850, AUC-PR: 0.8706), about three points lower than the paper(AUPOC: 0.916±0.006, AUPRC: 0.920±0.008)

from inctrl.

Diana1026 avatar Diana1026 commented on June 14, 2024

Hi, I downloaded the project and run directly, below is my current reproduced result:
image

from inctrl.

Diana1026 avatar Diana1026 commented on June 14, 2024

Since our report's results are based on averages across various independent runs, there might be some deviation. I will release another few-shot sample set for selection later. However, for the current few-shot file, the results should be like the given image.

from inctrl.

guangpintao avatar guangpintao commented on June 14, 2024

Same lower reproduction twice @Diana1026, please check the few-shot sample set for selection. BTW, is the performance high affected by few-shot sample?
image

from inctrl.

Diana1026 avatar Diana1026 commented on June 14, 2024

The results shouldn't change when the parameters(pre-trained model) and few-shot samples are fixed, and this is the reason why you got the same results twice. I used the same few-shot samples but the performance is the same as the image I uploaded. Please check if the hardware and the PyTorch version are aligned with us.

Indeed, selecting different few-shot samples will influence the performance as the selected normal samples might not be a good representative of the normal pattern, we clarify the problem in Sec 4.4 Failure Cases of our paper.

from inctrl.

ximitiejiang avatar ximitiejiang commented on June 14, 2024

for shot=2 and candle dataset, i got AUC_ROC=08027, AUC_PR=0.8096, with default setting.
and i tried to set batchsize from bs=8 to bs=2, then the performance raised to below
image

from inctrl.

gaobb avatar gaobb commented on June 14, 2024

lower performance for 2-shot candle class of ViSA

image

from inctrl.

Related Issues (16)

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.