Giter Site home page Giter Site logo

yqyao / fcos_plus Goto Github PK

View Code? Open in Web Editor NEW
316.0 8.0 46.0 8.77 MB

Some improvements (center sample) about FCOS (FCOS: Fully Convolutional One-Stage Object Detection).

License: Other

Dockerfile 0.68% Python 89.71% C++ 3.71% Cuda 5.89%
fcos object-detection one-stage anchor-free pytorch computer-vision

fcos_plus's People

Contributors

103yiran avatar aaronlelevier avatar apacha avatar ausk avatar belowmit avatar bernhardschaefer avatar botcs avatar chhshen avatar climbsrocks avatar coincheung avatar fmassa avatar godricly avatar henrywang1 avatar jario-jin avatar jiayuan-gu avatar keineahnung2345 avatar killthekitten avatar leviviana avatar newstzpz avatar renebidart avatar rodrigoberriel avatar skeletonone avatar soumith avatar tianzhi0549 avatar wat3rbro avatar xudangliatiger avatar yelantf avatar yqyao avatar zhangliliang avatar zimenglan-sysu-512 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fcos_plus's Issues

i use conda env,show some error?

/home/Desktop/FCOS_PLUS-master/maskrcnn_benchmark/csrc/cpu/vision.h:3:29: fatal error: torch/extension.h: No such file or directory
#include <torch/extension.h>

Using ctr sampling without "centerness".

Hello,

Thank you for your nice work.
Have you ever tried a model using ctr. sampling that does not have "centerness" branch?
As someone else mentioned in the issue, the centerness score of the sampled center points will be similar.
I wonder whether the "centerness" itself still gives an improvement.

Best,

Ahyun Seo

'list' object has no attribute 'resize'???

Traceback (most recent call last):
File "tools/train_net.py", line 182, in
main()
File "tools/train_net.py", line 175, in main
model = train(cfg, args.local_rank, args.distributed)
File "tools/train_net.py", line 81, in train
arguments,
File "/home/data/TeddyZhang/nothing/FCOS_PLUS/maskrcnn_benchmark/engine/trainer.py", line 57, in do_train
for iteration, (images, targets, _) in enumerate(data_loader, start_iter):
File "/home/t704/Software/anaconda3/envs/Detectron/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 819, in next
return self._process_data(data)
File "/home/t704/Software/anaconda3/envs/Detectron/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 846, in _process_data
data.reraise()
File "/home/t704/Software/anaconda3/envs/Detectron/lib/python3.7/site-packages/torch/_utils.py", line 385, in reraise
raise self.exc_type(msg)
AttributeError: Caught AttributeError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/t704/Software/anaconda3/envs/Detectron/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/home/t704/Software/anaconda3/envs/Detectron/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/t704/Software/anaconda3/envs/Detectron/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/data/TeddyZhang/nothing/FCOS_PLUS/maskrcnn_benchmark/data/datasets/coco.py", line 67, in getitem
img, anno = super(COCODataset, self).getitem(idx)
File "/home/t704/Software/anaconda3/envs/Detectron/lib/python3.7/site-packages/torchvision/datasets/coco.py", line 118, in getitem
img, target = self.transforms(img, target)
File "/home/data/TeddyZhang/nothing/FCOS_PLUS/maskrcnn_benchmark/data/transforms/transforms.py", line 15, in call
image, target = t(image, target)
File "/home/data/TeddyZhang/nothing/FCOS_PLUS/maskrcnn_benchmark/data/transforms/transforms.py", line 60, in call
target = target.resize(image.size)
AttributeError: 'list' object has no attribute 'resize'

how to set the dataset ?? i set it by using maskrcnn-benchmark version... please help me !!

About center sampling

Thanks for your great work! The center sampling method is quite like the sampling method in FoveaBox, is that wright?

does center sampling set the label of un-chossen location to 0?

In many text detection or other anchor-free methods,when we shrink gt to get new "center location", the original zone of gt which not be chosen is set to "ignore". But when I read this code, I find it's set to 0 (neg) directly. do I misunderstand this code or IT IS?
many thanks for you!

What does Multi-scale training mean。。。

I am little confused about the mutil-scale training, do you mean that use the crop or else to enhance the train set and use 2X at the same time? Did the original FCOS use this trick too?or just the 2X.

about the benefit of center sampling in FCOS

Why does center sampling bring so much improvement? Do you think training with center samples can lead to a better classification branch and regression branch in FCOS?

Moreover, center-ness scores of the center samples could be very close, so using center-ness during inference or not in FCOS_PLUS may lead to similar results?

Can’t calculate the Params and FLOPs of Backbone

I used thop,torchstat and ptflops to caculate the Flops of the model, but all of the results shows there is 0 params and 0 flops in ResNet and FPN. Why did this happen and how can I calucalte the Flops of model correctly. Thank you!

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.