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

CamVid dataset?? #164

Open
shubhamk-76 opened this issue Jan 6, 2025 · 0 comments
Open

CamVid dataset?? #164

shubhamk-76 opened this issue Jan 6, 2025 · 0 comments

Comments

@shubhamk-76
Copy link

I trie to implement this repository using CamVid dataset but was getting some error. The error are relate to class as there are 32 classes in CamVid dataset.

File "/mnt/DATA/CS24S001/pytorch-segmentation/base/base_trainer.py", line 101, in train
results = self._train_epoch(epoch)
File "/mnt/DATA/CS24S001/pytorch-segmentation/trainer.py", line 106, in _train_epoch
seg_metrics = self._get_seg_metrics()
File "/mnt/DATA/CS24S001/pytorch-segmentation/trainer.py", line 204, in _get_seg_metrics
"Class_IoU": dict(zip(range(self.num_classes), np.round(IoU, 3)))
TypeError: 'numpy.float64' object is not iterable

@shubhamk-76 shubhamk-76 changed the title CamVid dataste?? CamVid dataset?? Jan 6, 2025
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