Giter VIP home page Giter VIP logo

kcr-official's Issues

Detector issue

Hello authors! Really great job and inspires me a lot. One of the questions about the code of the article is that if the detection network is to be changed to a single-stage network similar to YOLO, what changes do you need to make to your code, whether you want to delete the loss of the first stage in your code, or what changes are needed elsewhere, I hope to get your answer

about code

Thank you for your great work!
I was wondering if you plan to release your code anytime soon.

SAR datasets

How do SAR data sets define the input that I use to report the following error
File "kcrtools/train_kcr_2d.py", line 332, in
main()
File "kcrtools/train_kcr_2d.py", line 321, in main
train_detector(
File "kcrtools/train_kcr_2d.py", line 219, in train_detector
runner.run(data_loaders, cfg.workflow)
File "/root/miniconda3/envs/kcr/lib/python3.8/site-packages/mmcv/runner/epoch_based_runner.py", line 130, in run
epoch_runner(data_loaders[i], **kwargs)
File "/root/miniconda3/envs/kcr/lib/python3.8/site-packages/mmcv/runner/epoch_based_runner.py", line 47, in train
for i, data_batch in enumerate(self.data_loader):
File "/root/miniconda3/envs/kcr/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 521, in next
data = self._next_data()
File "/root/miniconda3/envs/kcr/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 561, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "/root/miniconda3/envs/kcr/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/root/miniconda3/envs/kcr/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/root/autodl-tmp/KCR-Official-main/kcr/kcr_datasets.py", line 375, in getitem
aa_data = self.aa_dataset.prepare_train_img(aa_idx)
File "/root/autodl-tmp/KCR-Official-main/mmdet/datasets/custom.py", line 236, in prepare_train_img
ann_info = self.get_ann_info(idx)
File "/root/autodl-tmp/KCR-Official-main/mmdet/datasets/coco.py", line 104, in get_ann_info
return self._parse_ann_info(self.data_infos[idx], ann_info)
File "/root/autodl-tmp/KCR-Official-main/kcr/kcr_datasets.py", line 259, in _parse_ann_info
inter_w = max(0, min(x1 + w, img_info["width"]) - max(x1, 0))
TypeError: '<' not supported between instances of 'str' and 'int'

loss

Hello, I would like to ask why the loss of the target domain in the second stage RCNN does not include the loss of bounding box regression. Is there any reason for this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.