GithubHelp home page GithubHelp logo

cyanogenoid / dspn Goto Github PK

View Code? Open in Web Editor NEW
100.0 5.0 18.0 683 KB

[NeurIPS 2019] Deep Set Prediction Networks

Home Page: https://arxiv.org/abs/1906.06565

License: MIT License

Python 98.01% Shell 1.99%
set prediction deep-learning neurips neurips-2019

dspn's People

Contributors

cyanogenoid 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

dspn's Issues

data.py

what does it mean by "dataset = Circles()"? When I ran it, NameError was raised showing that name 'Circles' is not defined? Thanks

Sparse output for MLPDecoder (for MNIST-set experiments)?

Hi, thank you for fast response!
I tested MNIST-set experiments on MLPDecoder and found that the output cardinality tends to go small when using the Chamfer loss.
While it is understandable that Chamfer loss only needs to keep "a few" points to minimize their loss (several target points map to the shared output point), I just want to check if this phenomena also happened to you (to check that it is not my problem, e.g., of environments).
Also, is it common to use an additional regularizer to enforce output and target to have similar number of points (i.e., || # of pred masks = # of target masks ||)?
I'm pretty new in this domain, hence thank you for your kind help! :)

runtime

Hey! Nice work! I was wondering if you have any performance measures such as the runtime? E.g. how long does one iteration/sample take for the object detection task? thx

Question about the learning rate η

Hi!
This is a nice work! I am studying your paper and trying to running the DSPN method on my own dataset. However, I find the repr_loss and set_loss can not convergence after some epoches.
So I wonder if the learning rate η = 800 is suit to my dataset, which is CrowdHuman dataset.
Or can you tell me how you adjust the learning rate in your experiments.
Or could you please give me any advice about using DSPN on custom dataset?
Thanks a lot!

bug in model architecture (clevr-box)

Trying to reproduce results on clevr-box by running scripts/clevr.sh clevr-box 1. Got following error.

Traceback (most recent call last):
File "train.py", line 414, in
main()
File "train.py", line 395, in main
run(net, train_loader, optimizer, train=True, epoch=epoch, pool=pool)
File "train.py", line 211, in run
input, target_set, target_mask
File "/home/fengc/anaconda2/envs/pyrodev/lib/python3.7/site-packages/torch-1.1.0-py3.7-linux-x86_64.egg/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/lila/home/fengc/PlayGround/dspn/dspn/model.py", line 85, in forward
latent_repr = self.input_encoder(input)
File "/home/fengc/anaconda2/envs/pyrodev/lib/python3.7/site-packages/torch-1.1.0-py3.7-linux-x86_64.egg/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/lila/home/fengc/PlayGround/dspn/dspn/model.py", line 117, in forward
x = self.end(x)
File "/home/fengc/anaconda2/envs/pyrodev/lib/python3.7/site-packages/torch-1.1.0-py3.7-linux-x86_64.egg/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/home/fengc/anaconda2/envs/pyrodev/lib/python3.7/site-packages/torch-1.1.0-py3.7-linux-x86_64.egg/torch/nn/modules/container.py", line 92, in forward
input = module(input)
File "/home/fengc/anaconda2/envs/pyrodev/lib/python3.7/site-packages/torch-1.1.0-py3.7-linux-x86_64.egg/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/home/fengc/anaconda2/envs/pyrodev/lib/python3.7/site-packages/torch-1.1.0-py3.7-linux-x86_64.egg/torch/nn/modules/conv.py", line 338, in forward
self.padding, self.dilation, self.groups)
RuntimeError: Given groups=1, weight of size 512 512 3 3, expected input[32, 2048, 4, 4] to have 512 channels, but got 2048 channels instead

I fixed it myself but I wonder what you intended it to be. In case I am missing something here.

Thanks.

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.