Traceback (most recent call last):
File "tools/train.py", line 12, in
from psdet.datasets.builder import build_dataloader
File "/test/apa/psdet/datasets/init.py", line 1, in
from .parking import ParkingSlotDataset
File "/test/apa/psdet/datasets/parking/init.py", line 1, in
from .ps_dataset import ParkingSlotDataset
File "/test/apa/psdet/datasets/parking/ps_dataset.py", line 8, in
from psdet.datasets.base import BaseDataset
File "/test/apa/psdet/datasets/base.py", line 8, in
@DATASETS.register()
TypeError: register() missing 1 required positional argument: 'cls'
Traceback (most recent call last): File "tools/train.py", line 12, in
from psdet.datasets.builder import build_dataloader
File "/test/apa/psdet/datasets/init.py", line 1, in
from .parking import ParkingSlotDataset
File "/test/apa/psdet/datasets/parking/init.py", line 1, in
from .ps_dataset import ParkingSlotDataset
File "/test/apa/psdet/datasets/parking/ps_dataset.py", line 8, in
from psdet.datasets.base import BaseDataset
File "/test/apa/psdet/datasets/base.py", line 8, in
@DATASETS.register()
TypeError: register() missing 1 required positional argument: 'cls'