GithubHelp home page GithubHelp logo

euphoria0-0 / learning-loss-for-active-learning Goto Github PK

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

An unofficial PyTorch implementation of "Learning Loss for Active Learning"

Python 100.00%
deep-learning human-pose-estimation image-classification object-detection pytorch

learning-loss-for-active-learning's Introduction

๐Ÿ”ฅ Interests

  • Causality, Machine Learning, Bayesian Learning, and Privacy-Preserving Machine Learning

๐Ÿ’Œ Contact

Gmail Badge About ME Badge Tech Blog Badge

Hits

learning-loss-for-active-learning's People

Contributors

euphoria0-0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

learning-loss-for-active-learning's Issues

Gradient Exploding & LossPredLoss - MultiBoxLoss Problems

Thank you for your code it has been very helpful for me, however I'm encountering some issues regarding the object detection task:

  1. If I do not insert the gradient clipping the loss will explode causing it to be nan
  2. The output of the MultiBoxLoss is a single loss of all the batch [1], whereas the output of the LossNet is [32,1], so once these input are fed to the LossPredLoss it will return always return 0.0 as final loss module

The change that I've made regarding the SSD module is that I've attached the LossNet on this class and called the forward pass on the return of the SSD forward, like so:

return output, self.loss_net(self.features), None

The None is for future work, for returning the embeddings

LossNet model for custom dataset

Hi, Thank you so much for your code.
I am unable to use the LossNet model for domain-specific datasets with different dimensions. It always says is forward()

Input dimension should be at least 3

or ndexError: Dimension out of range (expected to be in range of [-1, 0], but got -3)

Training command

@euphoria0-0 thanks for sharing the code base i have following query

  1. the command "python main.py --task detection --dataset VOC0712
    --subset None --num_epoch 300 --batch_size 32
    --lr 0.001 --epoch_loss 240 --weights 1.0 --milestone " is incomplete with subset and milestone value not given can you confirm
  2. Dataset voc0712 ? should have both voc2007 and voc2012 in our repo

Thanks in advance

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.