You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried pspnet on iSAID dataset, as the instruction, I ran tools/dataset_converters/isaid.py to get the dataset as follows:
├── data
│ ├── iSAID
│ │ ├── img_dir
│ │ │ ├── train
│ │ │ ├── val
│ │ │ ├── test
│ │ ├── ann_dir
│ │ │ ├── train
│ │ │ ├── val
then I use the command python tools/train.py configs/pspnet/pspnet_r50-d8_4xb4-80k_isaid-896x896.py
the model started to train, but the validation got something wrong:
2024/08/22 10:32:06 - mmengine - INFO - Iter(val) [11600/11644] eta: 0:00:02 time: 0.0648 data_time: 0.0024 memory: 1224
2024/08/22 10:32:09 - mmengine - INFO - per class results:
2024/08/22 10:32:09 - mmengine - INFO -
+--------------------+-------+-------+
| Class | IoU | Acc |
+--------------------+-------+-------+
| background | 96.65 | 100.0 |
| ship | 0.0 | 0.0 |
| store_tank | nan | nan |
| baseball_diamond | nan | nan |
| tennis_court | nan | nan |
| basketball_court | nan | nan |
| Ground_Track_Field | nan | nan |
| Bridge | nan | nan |
| Large_Vehicle | nan | nan |
| Small_Vehicle | nan | nan |
| Helicopter | nan | nan |
| Swimming_pool | nan | nan |
| Roundabout | nan | nan |
| Soccer_ball_field | nan | nan |
| plane | nan | nan |
| Harbor | nan | nan |
+--------------------+-------+-------+
mmsegmentation/mmseg/datasets/isaid.py
`import mmengine.fileio as fileio
from mmseg.registry import DATASETS
from .basesegdataset import BaseSegDataset
@DATASETS.register_module()
class iSAIDDataset(BaseSegDataset):
""" iSAID: A Large-scale Dataset for Instance Segmentation in Aerial Images
In segmentation map annotation for iSAID dataset, which is included
in 16 categories. reduce_zero_label is fixed to False. The img_suffix is fixed to '.png' and seg_map_suffix is fixed to
'_manual1.png'.
"""
I tried pspnet on iSAID dataset, as the instruction, I ran tools/dataset_converters/isaid.py to get the dataset as follows:
├── data
│ ├── iSAID
│ │ ├── img_dir
│ │ │ ├── train
│ │ │ ├── val
│ │ │ ├── test
│ │ ├── ann_dir
│ │ │ ├── train
│ │ │ ├── val
then I use the command
python tools/train.py configs/pspnet/pspnet_r50-d8_4xb4-80k_isaid-896x896.py
the model started to train, but the validation got something wrong:
2024/08/22 10:32:06 - mmengine - INFO - Iter(val) [11600/11644] eta: 0:00:02 time: 0.0648 data_time: 0.0024 memory: 1224
2024/08/22 10:32:09 - mmengine - INFO - per class results:
2024/08/22 10:32:09 - mmengine - INFO -
+--------------------+-------+-------+
| Class | IoU | Acc |
+--------------------+-------+-------+
| background | 96.65 | 100.0 |
| ship | 0.0 | 0.0 |
| store_tank | nan | nan |
| baseball_diamond | nan | nan |
| tennis_court | nan | nan |
| basketball_court | nan | nan |
| Ground_Track_Field | nan | nan |
| Bridge | nan | nan |
| Large_Vehicle | nan | nan |
| Small_Vehicle | nan | nan |
| Helicopter | nan | nan |
| Swimming_pool | nan | nan |
| Roundabout | nan | nan |
| Soccer_ball_field | nan | nan |
| plane | nan | nan |
| Harbor | nan | nan |
+--------------------+-------+-------+
mmsegmentation/mmseg/datasets/isaid.py
`import mmengine.fileio as fileio
from mmseg.registry import DATASETS
from .basesegdataset import BaseSegDataset
@DATASETS.register_module()
class iSAIDDataset(BaseSegDataset):
""" iSAID: A Large-scale Dataset for Instance Segmentation in Aerial Images
In segmentation map annotation for iSAID dataset, which is included
in 16 categories.
reduce_zero_label
is fixed to False. Theimg_suffix
is fixed to '.png' andseg_map_suffix
is fixed to'_manual1.png'.
"""
`
The text was updated successfully, but these errors were encountered: