jimxinbo / multilabel-layer-mxnet Goto Github PK
View Code? Open in Web Editor NEWThis is a multilabel classification layer for mxnet.
This is a multilabel classification layer for mxnet.
Multi-label classification is quite a common task. Do you plan to make a PR back to mxnet so that others can use it?
Your API seems to be exactly what I have been looking for.
Just one tiny problem! MXNet is getting terminated during compilation with following error
make: *** [build/src/operator/softmax_multilabel_output.o] Error 1
make: *** Waiting for unfinished jobs....
src/operator/softmax_multilabel_output.cu:8:48: fatal error: ./bx_softmax_multilabel_output-inl.h: No such file or directory
#include "./bx_softmax_multilabel_output-inl.h"
^
compilation terminated.
What I am doing wrong?what file is bx_softmax_multilabel_output-inl.h?
I was reading your code last night. So sad that my c++ is not proficient to understand the code.
I am currently working on a multilabel problem. I have everything set up except the layer part of mxnet. I am trying to modify the layer to work on python. Any idea or guidance? Thanks!
Hi,I met a problem while compiling.Here are the messages,could you please help me out(Ps.VS2013 platform,can successfully compile mxnet without your file.I just put the .cc and .h files into the project,because I don't have gpu. I wonder if this is the reason?)
Error 122 error C2144: syntax error : 'void' should be preceded by ';' (..\src\operator\softmax_multilabel_output.cc) d:\mxnet\src\operator\softmax_multilabel_output-inl.h 198 1 mxnet
Error 123 error C2065: 'DstPlan' : undeclared identifier (..\src\operator\softmax_multilabel_output.cc) d:\mxnet\src\operator\softmax_multilabel_output-inl.h 198 1 mxnet
Error 124 error C2146: syntax error : missing ')' before identifier 'dst' (..\src\operator\softmax_multilabel_output.cc) d:\mxnet\src\operator\softmax_multilabel_output-inl.h 198 1 mxnet
Error 125 error C2182: 'SoftmaxMultilabelGradKernel' : illegal use of type 'void' (..\src\operator\softmax_multilabel_output.cc) d:\mxnet\src\operator\softmax_multilabel_output-inl.h 198 1 mxnet
Error 126 error C2059: syntax error : ')' (..\src\operator\softmax_multilabel_output.cc) d:\mxnet\src\operator\softmax_multilabel_output-inl.h 198 1 mxnet
Error 127 error C2065: 'DType' : undeclared identifier (..\src\operator\softmax_multilabel_output.cc) d:\mxnet\src\operator\softmax_multilabel_output-inl.h 231 1 mxnet
Error 128 error C2923: 'mshadow::Tensor' : 'DType' is not a valid template type argument for parameter 'DType' (..\src\operator\softmax_multilabel_output.cc) d:\mxnet\src\operator\softmax_multilabel_output-inl.h 231 1 mxnet
Error 129 error C2065: 'DType' : undeclared identifier (..\src\operator\softmax_multilabel_output.cc) d:\mxnet\src\operator\softmax_multilabel_output-inl.h 232 1 mxnet
Error 130 error C2923: 'mshadow::Tensor' : 'DType' is not a valid template type argument for parameter 'DType' (..\src\operator\softmax_multilabel_output.cc) d:\mxnet\src\operator\softmax_multilabel_output-inl.h 232 1 mxnet
Error 131 error C2065: 'DType' : undeclared identifier (..\src\operator\softmax_multilabel_output.cc) d:\mxnet\src\operator\softmax_multilabel_output-inl.h 233 1 mxnet
Error 132 error C2923: 'mshadow::Tensor' : 'DType' is not a valid template type argument for parameter 'DType' (..\src\operator\softmax_multilabel_output.cc) d:\mxnet\src\operator\softmax_multilabel_output-inl.h 233 1 mxnet
Error 133 error C2143: syntax error : missing ';' before '{' (..\src\operator\softmax_multilabel_output.cc) d:\mxnet\src\operator\softmax_multilabel_output-inl.h 233 1 mxnet
Error 134 error C2447: '{' : missing function header (old-style formal list?) (..\src\operator\softmax_multilabel_output.cc) d:\mxnet\src\operator\softmax_multilabel_output-inl.h 233 1 mxnet
Or , is there a version for ubuntu?Any help will be appreciated!
Suppose the label lengths varies. Is it a good idea to encode each label to dummy variable, that is 0-1?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.