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

Evaluation function error for ImageDataloader #298

Open
SkynetMonster opened this issue Oct 16, 2024 · 0 comments
Open

Evaluation function error for ImageDataloader #298

SkynetMonster opened this issue Oct 16, 2024 · 0 comments

Comments

@SkynetMonster
Copy link

Description

ValueError: Invalid data type <class 'pandas.core.frame.DataFrame'>
This occurs every time while running Benchmarks.evaluate over any ImageDataloader, both online at colab or locally.

How to Reproduce

  1. Go to 'tutorial7_image_generation_using_mednist.ipynb'
  2. Scroll down to last but one cell (remember to run previous cells prior to this one)
  3. Click on 'running'
  4. See error

Expected Behavior

If the cell runs well, it will produce the training process percentage as well as the evaluated metrics in the end.

Screenshots

Screenshot 2024-10-16 at 11 26 25 Screenshot 2024-10-16 at 11 26 37

System Information

Not correlated to any specific system

Additional Context

The reason for the error is that at the step of "create_from_info(pd.concat([X_gt_df, X_syn_df]), X_gt.info())", the first input would be a pd.Dataframe, however the from_info function called later is trying to identify if it's a torch.utils.data.Dataset given X_gt.info() extracted from ImageDataloader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant