zcablii / SARDet_100K

Offical implementation of MSFA and release of SARDet_100K dataset for Large-Scale Synthetic Aperture Radar (SAR) Object Detection
Other
328 stars 25 forks source link

quickly implements #8

Closed Jordan-Liao closed 5 months ago

Jordan-Liao commented 5 months ago

Thank you for your work, may I ask when I run the command bash tools/dist_train.sh local_configs/SARDet/r50_IN_sup/fg_frcnn_IN_sup_sar_wavelet_r50.py 4 When I selected SAR_100k for the dataset, the checkpoint was 'ckpts/r50_sar_wavelet_epoch_100.pth' which you provided, and then why did I get an error: Snipaste_2024-04-07_21-47-29

Or is there a demo that quickly implements SAR target detection? Thank you!

zcablii commented 5 months ago

You can safely ignore these warnings. The appearance of this warning isn't indicative of an error but rather a consequence of the Wavelet Scattering Transform's utilization of handcrafted kernels, which are dependent on the input size. Since the pretrained models were trained with images of size 224x224, fine-tuning with larger sizes such as 800x800 introduces a mismatch in the shapes of these kernels. However, it's important to note that this mismatch doesn't impact the functionality, as the weights are handcrafted and will be redefined as necessary during the process.

ziyunxuanzzz commented 5 months ago

Do you meet this question?

RuntimeError: GET was unable to find an engine to execute this computation ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 25467) of binary: /home/xul/.conda/envs/MSFA/bin/python

zcablii commented 5 months ago

Do you meet this question?

RuntimeError: GET was unable to find an engine to execute this computation ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 25467) of binary: /home/xul/.conda/envs/MSFA/bin/python

It seems that your environment is not properly set up. MSFA code is totally based on mmdetection, therefore you may refer to that repo for environment installation (and do not forget to lastly run pip install -v -e . under MSFA folder) and find tons of solutions on the official mmdetection repo.

ziyunxuanzzz commented 5 months ago

Do you meet this question?

RuntimeError: GET was unable to find an engine to execute this computation ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 25467) of binary: /home/xul/.conda/envs/MSFA/bin/python

It seems that your environment is not properly set up. MSFA code is totally based on mmdetection, therefore you may refer to that repo for environment installation (and do not forget to lastly run pip install -v -e . under MSFA folder) and find tons of solutions on the official mmdetection repo.

I just followed the way in the readme. Should I delete the conda environment and reinstall it