ViTAE-Transformer / ViTAE-Transformer-Remote-Sensing

A comprehensive list [SAMRS@NeurIPS'23, RVSA@TGRS'22, RSP@TGRS'22] of our research works related to remote sensing, including papers, codes, and citations. Note: The repo for [TGRS'22] "An Empirical Study of Remote Sensing Pretraining" has been moved to: https://github.com/ViTAE-Transformer/RSP
438 stars 53 forks source link

模型注册问题 #22

Closed Lee-inso closed 1 year ago

Lee-inso commented 1 year ago

KeyError: 'swin is not in the models registry'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): return build_from_cfg(cfg, registry, default_args) File "/media/user/volume/PycharmProjects/ViTAE-Transformer-Remote-Sensing-main/Semantic Segmentation/tools/train.py", line 234, in

File "/home/user/.conda/envs/pytorch/lib/python3.10/site-packages/mmcv/utils/registry.py", line 61, in build_from_cfg raise KeyError( KeyError: 'swin is not in the models registry'

求问如何debug

Lee-inso commented 1 year ago

python setup.py install 了,但是可修改的mmcv是什么意思? mmcv我是按照官方指导min 安装的full

DotWang commented 1 year ago

@Lee-inso 说的应该是可修改的mmseg

Case a: If you develop and run mmseg directly, install it from source:

https://github.com/open-mmlab/mmsegmentation/blob/master/docs/en/get_started.md#installation

你看看你之前是不是装过不可改的mmseg,如果是的话,得卸掉,因为本仓库分割那个文件夹本质上就是mmseg了,你也可以装可修改的mmseg,然后从本仓库把所需要的文件放进去

Lee-inso commented 1 year ago

3q 问一下,拿rsp做下游任务,泛化性还是比较差,有没有什么比较好的trick,或者比较好的增强泛化性的研究方向,感谢指教🙏

DotWang commented 1 year ago

@Lee-inso rsp是监督预训练的,监督不如无监督效果好。你可以试试我们的无监督预训练遥感大模型:https://github.com/ViTAE-Transformer/Remote-Sensing-RVSA

Lee-inso commented 1 year ago

@Lee-inso rsp是监督预训练的,监督不如无监督效果好。你可以试试我们的无监督预训练遥感大模型:https://github.com/ViTAE-Transformer/Remote-Sensing-RVSA 万分感谢!