Skip to content

Please help! I have 'ValueError: No samples to concatenate' error while using the trainer.test functionality #701

Answered by djdameln
1amrutesh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, it's hard to say for sure without knowing the contents of your config.yaml, but the most likely explanation is that the task type for your dataset is configured as segmentation, while your dataset does not have ground truth pixel-level annotations available. As explained in this answer, you will have to set the dataset.task parameter in the config.yaml to classification in this case.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@1amrutesh
Comment options

@djdameln
Comment options

Answer selected by djdameln
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants