Comments (6)
In most cases users would have sparse input but dense weight matrix. In the current version, sparse inputs with dense weight matrix is already supported. Can you tell us your scenario so that we can understand better what kind of sparse parameters are needed?
Thanks,
Dong
from cntk.
Hello Dong, I see. I saw the sparse input code.
Sure, so its a binary segmentation task where I wanna train a CNN end-to-end, i.e. one image = one sample. I also wanna have some kind of "global context", meaning that local layers (like a convolution, in a fully convolutional network) would not help me that much.
After the regular convolution-pooling layers, I could use a dense layer (fully connected) as my last layer but there would be a lot of weights in this case. So I wanna substitute this layer by a layer that follows a specific pattern of connections and this pattern is not rectangular so I can't use a convolution layer (or any other standard layer) to create it.
I was able to created this layer in theano, but there's no GPU implementation of what they call "sparse structured dot".
As for the pattern, it is inspired in semi-global stereo matching methods.
Best regards,
Caio Mendes
from cntk.
Is there a pointer to a sparse input example? I was looking at the UCI Fast Reader docs but didn't see how to configure and format for sparse inputs.
from cntk.
Bing DSSM tasks use it. We were talking about making this an official test case and sample in the public repo.
Dong, do you happen to know if we already have DSSM in our set of samples? I don’t see it.
From: Robert Sim [mailto:[email protected]]
Sent: Tuesday, February 9, 2016 13:42
To: Microsoft/CNTK [email protected]
Subject: Re: [CNTK] Sparse Times/Parameter (#22)
Is there a pointer to a sparse input example? I was looking at the UCI Fast Reader docs but didn't see how to configure and format for sparse inputs.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/22#issuecomment-182089390.
from cntk.
I think it’s not part of the examples. I have asked Bhaskar and Ryan whether they can provide an example.
Thanks,
Dong Yu (俞栋)
From: Frank Seide [mailto:[email protected]]
Sent: Tuesday, February 9, 2016 4:33 PM
To: Microsoft/CNTK [email protected]
Cc: Dong Yu [email protected]
Subject: Re: [CNTK] Sparse Times/Parameter (#22)
Bing DSSM tasks use it. We were talking about making this an official test case and sample in the public repo.
Dong, do you happen to know if we already have DSSM in our set of samples? I don’t see it.
From: Robert Sim [mailto:[email protected]]
Sent: Tuesday, February 9, 2016 13:42
To: Microsoft/CNTK <[email protected] mailto:[email protected] >
Subject: Re: [CNTK] Sparse Times/Parameter (#22)
Is there a pointer to a sparse input example? I was looking at the UCI Fast Reader docs but didn't see how to configure and format for sparse inputs.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/22#issuecomment-182089390.
—
Reply to this email directly or view it on GitHub #22 (comment) . https://github.com/notifications/beacon/AL5PcypvifDTLEQhWMqCjwolz-KNxetaks5pinzZgaJpZM4HMFXt.gif
from cntk.
We are waiting to switch to the new CNTKTextReader reader first since we don't have an encoder on github for the readers that were used for it.
Clemens
Am 10.02.2016 um 01:37 schrieb Dong Yu <[email protected]mailto:[email protected]>:
I think it's not part of the examples. I have asked Bhaskar and Ryan whether they can provide an example.
Thanks,
Dong Yu (??)
From: Frank Seide [mailto:[email protected]]
Sent: Tuesday, February 9, 2016 4:33 PM
To: Microsoft/CNTK <[email protected]mailto:[email protected]>
Cc: Dong Yu <[email protected]mailto:[email protected]>
Subject: Re: [CNTK] Sparse Times/Parameter (#22)
Bing DSSM tasks use it. We were talking about making this an official test case and sample in the public repo.
Dong, do you happen to know if we already have DSSM in our set of samples? I don't see it.
From: Robert Sim [mailto:[email protected]]
Sent: Tuesday, February 9, 2016 13:42
To: Microsoft/CNTK <[email protected]mailto:[email protected] mailto:[email protected] >
Subject: Re: [CNTK] Sparse Times/Parameter (#22)
Is there a pointer to a sparse input example? I was looking at the UCI Fast Reader docs but didn't see how to configure and format for sparse inputs.
Reply to this email directly or view it on GitHubhttps://github.com//issues/22#issuecomment-182089390.
Reply to this email directly or view it on GitHub #22 (comment) . https://github.com/notifications/beacon/AL5PcypvifDTLEQhWMqCjwolz-KNxetaks5pinzZgaJpZM4HMFXt.gif
Reply to this email directly or view it on GitHubhttps://github.com//issues/22#issuecomment-182148471.
from cntk.
Related Issues (20)
- Value goes invalid when using TestMinibatch
- Request for a no-opencv dotnet release
- CNTK C# Crash when layer is deeper
- Convolution 1D CNTK C++ HOT 1
- Add support to release linux aarch64 wheels
- Error while deploying MS Teams Bot with SSO
- how to install in python3.8
- A model causes CNTK crash with cudnnSetPoolingNDDescriptor when invoking the pooling operator
- This repo is missing important files HOT 1
- API document issue due to syntax in source code HOT 1
- Error: could not find all specified 'to_nodes' in clone. Looking for ['relu5'], found [None]
- SequenceClassification.py does not work out of box HOT 1
- Microsoft has absolutely no potential
- development of a neural network for object search
- join vcpkg
- cntk crash and pycharm process finished with exit code -1066598274 (0xC06D007E)
- ConvolutionTranspose2D outputs normally when num_filters is tuple and dilation is 0
- program crash when get gradient of `ConvolutionTranspose2D`
- when shape contains negative integer, input_variable should throw an error HOT 1
- MAX_POOLING crash, when pooling_window_shape contains 0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cntk.