MediaBrain-SJTU / RegAD

[ECCV2022 Oral] Registration based Few-Shot Anomaly Detection
MIT License
277 stars 40 forks source link

EOFError: Ran out of input on test.py #24

Closed justbuyyal closed 1 year ago

justbuyyal commented 1 year ago

When I use test.py to test the pre-trained model with testing template command (python test.py --obj {} --shot {} --stn_mode rotation_scale) and I got an 'EOFError: Ran out of input' both on 'capsule' and 'grid' types. I had tried 2, 4, 8 shot for testing and they all got the same EOFError. Is there any fixed solutions ?

Thanks.

chaoqinhuang commented 1 year ago

This is because your downloaded support data is corrupted. Please download categories of capsule and grid on Baidu Disk (pll9) and Baidu Disk (ns0n)

justbuyyal commented 1 year ago

OK, thanks. It works.