We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7919ded commit d918039Copy full SHA for d918039
src/templates/template-vision-segmentation/data.py
@@ -89,14 +89,9 @@ def setup_data(config: Namespace):
89
"Dataset not found. You can use `download_datasets` from data.py function to download it."
90
)
91
92
- try:
93
- dataset_eval = VOCSegmentationPIL(
94
- root=config.data_path, year="2012", image_set="val", download=False
95
- )
96
- except RuntimeError as e:
97
- raise e(
98
- "Dataset not found. You can use `download_datasets` from data.py function to download it."
99
+ dataset_eval = VOCSegmentationPIL(
+ root=config.data_path, year="2012", image_set="val", download=False
+ )
100
101
val_img_size = 513
102
train_img_size = 480
0 commit comments