-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running test code issues #5
Comments
Hi @Marco-Nguyen , 1). In fishyscapes l&f, It would take long time to calculate the final measurements (e.g., FPR, AuPRC) after the inference. Please give it a few minutes and don't interrupt it. 2). I think it should refer to the incompatibilities of different python versions. Could you please follow the guide in this page? Alternatively, this link might be what you are looking for. Cheers, |
@yyliu01 for the 1st question, I did not interrupt, the code stops itself immediately after the progress bar reaches the end. I wonder why it happens. I am running my code on Google Colab. I tried to run the test for |
Hi @Marco-Nguyen , Sorry for the misunderstanding, because I saw a "^C" in the screenshot you uploaded before. The potential reason is the OOM, as the program saves all the pixel-wise prediction results and calculates the final metrics with one time. Could you monitor the memory use based on the shell command "htop"? If that is the case, the potential solutions are: 2). utilising the evaluation from Meta-OoD in here. Cheers, |
Hi @yyliu01 , I have successfully executed the code without any error. I have some questions.
|
And another question @yyliu01 , I don't know whether should I raise another issue. But when running the code, it does not reproduce the reported results in the paper for all validation datasets, except for Fishyscapes static. Here is my reported result after running RPL + CoroCL test: I ran the test on Google Colab with Tesla T4 GPU. Could you point out what might go wrong? |
Hi @Marco-Nguyen, I apologize for the late reply. Please open a new issue or reopen the current issue so that I can notice your question earlier next time. 1). The reported results in SMIYC benchmark are based on the official code. Comparing with our evaluation function (which is only for validation purpose), it contains an additional post-process to fine-tuning the final results. 2). The potential reason of the different results from other benchmark is the different validation between the image-wise function and the statistic function, while all the results from the paper are based on the statistic manner. I have retested the provided rpl_corocl ckpt "rev3," and the results are the same as we reported in the paper, except for SMIYC, which is based on the official evaluation. Please feel free to evaluate the provided ckpts based on their code, and I attached the report based on our valid function below: [iccv23][INFO] validating segment_me_anomaly dataset with energy ... PLEASE NOTE: You can also observe the same record in 9768 iteration of our provided training log. Update I've just remembered that I've uploaded the SMIYC validation results based on the official code in this link before. |
Thanks for the response. I will have a look and get back to you |
Very welcome, @Marco-Nguyen. |
文章中的anomaly map 是怎么生成的,我在代码中没看到可视化内容 |
@skming666 是用energy的结果归一化之后生成score, 然后喂给seaborn.heatmap进行的可视化。如果还有其他问题, 麻烦请单独再开issue, 谢谢。 |
Dear @yyliu01 ,
I have followed your guidelines and run your code. It can run but it has some issues:
When running the test for
![image](https://private-user-images.githubusercontent.com/57481278/246039120-e95f508f-fff1-4046-8cf3-b32e0c732165.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5NTg1NjYsIm5iZiI6MTcxODk1ODI2NiwicGF0aCI6Ii81NzQ4MTI3OC8yNDYwMzkxMjAtZTk1ZjUwOGYtZmZmMS00MDQ2LThjZjMtYjMyZTBjNzMyMTY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIxVDA4MjQyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIwODY3MTg3NmVhMzE3M2MzZjA2Zjg2OWZmMWRkNDIxMTMwNDI0MGJkZTM0NTc1YzFiZWQxYjdmNWQwMWI2MjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.i-ee5GjvU2C3D2sr1G_yiP6alNS8vLiO82V4BMaNqRY)
Fishyscapes_ls
dataset, it finished the iteration but it did not give any results.When running
final_test_inlier
, I had the following error:AttributeError: module 'collections' has no attribute 'Iterable'
. I have installed packages according torequirements.txt
Can you give me some guidance on how to solve those issues?
Thank you in advance.
The text was updated successfully, but these errors were encountered: