Skip to content
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

[BUG] final_preds_and_avg_probs.csv file is not generated after inference #862

Closed
ujjwalbaid0408 opened this issue Apr 30, 2024 · 6 comments · Fixed by #865
Closed

[BUG] final_preds_and_avg_probs.csv file is not generated after inference #862

ujjwalbaid0408 opened this issue Apr 30, 2024 · 6 comments · Fixed by #865
Assignees
Labels
bug Something isn't working

Comments

@ujjwalbaid0408
Copy link
Collaborator

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Use the data BreastMNIST from https://medmnist.com/'
  2. Run command 'python /content/GaNDLF/gandlf_run -c /content/config.yaml -i /content/medmnist/dataset/test_path.csv -m /content/model/ -t False -d cuda'

Expected behavior

After running inference for the classification task following .csv files must be generated:

  • output_predictions.csv
  • final_preds_and_avg_probs.csv
  • logits.csv

But final_preds_and_avg_probs.csv and logits.csv are not generating.

Environment information

@sarthakpati
Copy link
Collaborator

sarthakpati commented Apr 30, 2024

Thanks for the report, @ujjwalbaid0408. What are the details about the environment, i.e., the result of python ./gandlf_debugInfo after activing the appropriate virtual environment?

@ujjwalbaid0408
Copy link
Collaborator Author

I am running this using Google Colab:

GANDLF version: 0.0.20-dev
Git hash: 50f369f
Platform: Linux-6.1.58+-x86_64-with-glibc2.35
Machine: x86_64
Processor: x86_64
Architecture: 64bit ELF
Python environment:
Version: 3.10.12
Implementation: CPython
Compiler: GCC 11.4.0
Build: main Nov 20 2023 15:14:05

@sarthakpati
Copy link
Collaborator

Thanks!

@Geeks-Sid
Copy link
Collaborator

@sarthakpati Assigning this to myself

@sarthakpati
Copy link
Collaborator

@ujjwalbaid0408 can you check if the fix works for you?

@ujjwalbaid0408
Copy link
Collaborator Author

ujjwalbaid0408 commented May 1, 2024

This is working now as expected. Thank You!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants