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
Traceback (most recent call last):
File "/ying.wang/mmrotate/projects/RR360/tools/browse_dataset.py", line 101, in
main()
File "/ying.wang/mmrotate/projects/RR360/tools/browse_dataset.py", line 56, in main
dataset = DATASETS.build(cfg.train_dataloader.dataset)
File "/root/anaconda3/envs/mmrotate/lib/python3.8/site-packages/mmengine/registry/registry.py", line 570, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "/root/anaconda3/envs/mmrotate/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 121, in build_from_cfg
obj = obj_cls(**args) # type: ignore
File "/ying.wang/mmrotate/mmrotate/datasets/dota.py", line 46, in init
super().init(**kwargs)
TypeError: init() got an unexpected keyword argument 'img_shape'
Additional information
No response
The text was updated successfully, but these errors were encountered:
Prerequisite
Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
1.x branch https://github.com/open-mmlab/mmrotate/tree/1.x
Environment
sys.platform: linux
Python: 3.8.19 (default, Mar 20 2024, 19:58:24) [GCC 11.2.0]
CUDA available: True
MUSA available: False
numpy_random_seed: 2147483648
GPU 0,1: NVIDIA A100-SXM4-80GB
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 11.3, V11.3.109
GCC: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
PyTorch: 1.11.0+cu113
PyTorch compiling details: PyTorch built with:
TorchVision: 0.12.0+cu113
OpenCV: 4.9.0
MMEngine: 0.10.4
MMRotate: 1.0.0rc1+fd60bef
Reproduces the problem - code sample
(mmrotate) root@942f8j4691t7h-0:/ying.wang# /root/anaconda3/envs/mmrotate/bin/python /ying.wang/mmrotate/projects/RR360/tools/browse_dataset.py
Reproduces the problem - command or script
(mmrotate) root@942f8j4691t7h-0:/ying.wang# /root/anaconda3/envs/mmrotate/bin/python /ying.wang/mmrotate/projects/RR360/tools/browse_dataset.py
Reproduces the problem - error message
Traceback (most recent call last):
File "/ying.wang/mmrotate/projects/RR360/tools/browse_dataset.py", line 101, in
main()
File "/ying.wang/mmrotate/projects/RR360/tools/browse_dataset.py", line 56, in main
dataset = DATASETS.build(cfg.train_dataloader.dataset)
File "/root/anaconda3/envs/mmrotate/lib/python3.8/site-packages/mmengine/registry/registry.py", line 570, in build
return self.build_func(cfg, *args, **kwargs, registry=self)
File "/root/anaconda3/envs/mmrotate/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 121, in build_from_cfg
obj = obj_cls(**args) # type: ignore
File "/ying.wang/mmrotate/mmrotate/datasets/dota.py", line 46, in init
super().init(**kwargs)
TypeError: init() got an unexpected keyword argument 'img_shape'
Additional information
No response
The text was updated successfully, but these errors were encountered: