GithubHelp home page GithubHelp logo

elin24 / spdcn-cac Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 2.0 883 KB

BMVC-2022 paper "Scale-Prior Deformable Convolution for Class-Agnostic Counting"(https://bmvc2022.mpi-inf.mpg.de/313)

Python 25.01% Shell 0.16% Jupyter Notebook 74.83%
class-agnostic-counting few-shot-counting object-counting

spdcn-cac's Introduction

Hi there, I'm Wei Lin

  • 🔭 I’m currently pursuing the Ph.D degree from Video, Image, and Sound Analysis Lab (VISAL) at the City University of Hong Kong.

🤝🏻  Connect with Me

Email    HomePage

spdcn-cac's People

Contributors

elin24 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

spdcn-cac's Issues

Inference

@Elin24
thanks for this repo and congratulation for being 3rd in Object counting LB.
Could you let me know if you posted some where inference code
secondly, do the boxes are mandatory during training as well as inference ?

mmcv issue

ModuleNotFoundError: No module named 'mmcv._ext'

@Elin24
Any idea on how to resolve this ?
I used your version mentioned for mmcv

can we replace mmcvs with torchvision.ops.DeformConv2d ?

A Error in training

Thank you for your sharing. May I ask that after data preprocessing according to the code you provided, the training program reported an error:
File "/home/counting/SPDCN-CAC-main/datasets/dataset.py", line 56, in getSample
dotmap[0, points[:, 1], points[:, 0]] = 1
IndexError: index 384 is out of bounds for axis 1 with size 384

How can i use

Hello! I have done all the steps, but how can I include the image I want in the code to process it? You didn't write this part.

demo.ipynb

Following your instructions, I used the script "demo.ipynb" for testing, but the test results are faulty.

Program syntax error

Why did I encounter this error while running gendata384x576. py

File "gendata384x576.py", line 80, in
category = cates[imid]
KeyError: '1050'

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.