Code Monkey home page Code Monkey logo

dlh_project's People

Watchers

 avatar  avatar

dlh_project's Issues

Implement setup for multi-label classification

Previously in @AsadBinImtiaz 's branch, the Dataset object generates multiple labels (e.g. [1, 0, 0, 0, 1, 1, ..., 0]) for each image, which is good for multi-label classification. Unfortunately, I overwrote the work due to time constraint but implemented setting for binary classification instead. Now it is a good time to implement the multi-label setting.

Tasks:

  1. Edit data_processing.py and dataset.py so that the data loader produces a label vector (instead of 1 label).
  2. Change the loss function to binary cross-entropy loss.
  3. Modify the training and evaluation functions in train_model.py to adapt for new loss and metric (Macro-average ROC?). Also, pay attention to the last classification layer, making sure it is not using Softmax.
  4. (Question) how to handle class weight and stratify strategy?
  5. (Question) how to implement early stopping?

Notes:

  1. Do not confuse multi-class with multi-label classification. link
  2. Good reference on loss function. link

Utilities for heatmap

There are some utilities which are useful for the heatmap:

  1. A plotting function which overlays a bounding box on top of an image:
    image

Input: image, x/y coordinates of the bounding box.

  1. Evaluation metric which compares a given bounding box with ground truth. Research is required.

Implement CapsNet

Part of the model's architecture leverages CapsNet in conjunction with CNN. Possible code: here

Try more complex model architectures

Based on the starter code, replace the simple model with state-of-the-art ones e.g. DenseNet, Inception etc., to evaluate both the speed and accuracy.

Improve capsnet

Concatinate capsnet with other models and get improved results

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.