GithubHelp home page GithubHelp logo

mil-pain's Introduction

mil-pain

Code and notes for experiments of mil-pain

mil-pain's People

Contributors

yrj90 avatar

Watchers

 avatar

mil-pain's Issues

pytorch

RuntimeError: cuda runtime error (59) : device-side assert triggered at /opt/conda/conda-bld/pytorch_1533672544752/work/aten/src/THC/generic/THCTensorCopy.cpp:70

/opt/conda/conda-bld/pytorch_1533672544752/work/aten/src/THCUNN/ClassNLLCriterion.cu:105: void cunn_ClassNLLCriterion_updateOutput_kernel(Dtype *, Dtype *, Dtype *, long *, Dtype *, int, int, int, int, long) [with Dtype = float, Acctype = float]: block: [0,0,0], thread: [1,0,0] Assertion t >= 0 && t < n_classes failed.
THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1533672544752/work/aten/src/THC/generic/THCTensorCopy.cpp line=70 error=59 : device-side assert triggered

Steps of train mil for pain datasets (modification of data and structure)

MIL part is from RstarCNN.

  1. Prepare data into voc form and make a symbolic link to the data folder
  2. In ROOT/lib/datasets/'name-of-db'.py and a 'name-of-db-eval.py' corresponding the pascal_voc.py and voc_eval.py
  3. In the ROOT/lib/datasets/factory.py , add a new entry for your own dataset.
  4. In ROOT/models/, change an existing one VGG16_RstarCNN. Remember to change the path within the solver and the number of classes in the train and test prototxt.
  5. ? how to block the primary part of RstarCNN, and only use the mil part?
  6. Change corresponding codes in ./tools/train_net.py, and ./tools/test_net.py

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.