-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
batchsize problem when training with FCN #2
Comments
For now this is intended behaviour, I don't know how to deal with undefined shapes in c++. |
Thanks for your reply. Placing CRFasRNN on top of a fully-connected neural
network means CRFasRNN only work for classification? Can CRFasRNN work for
image segmentation?
Sincerely,
Youyou
2018-06-14 23:45 GMT+08:00 MiguelMonteiro <notifications@github.com>:
… For now this is intended behaviour, I don't know how to deal with
undefined shapes in c++.
You can try to force define the shape of the inputs before the crf as rnn
layer for it work.
I don't have any training examples, it should be somewhat straight-forward
to place it on top of a fully-connected neural network, just note the
sensitivity to the theta parameters.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIDbu9ah6_jkxDoSUZIS0P3ow01wBSC8ks5t8oT_gaJpZM4UoF3I>
.
--
Youyou Li
Ph. D Candidate
School of Resources and Environment
The University of Electronic Engineering and Science of China
email. LiYouyou@std.uestc.edu.cn
Tel. +86 13808012140
|
It will only work for segmentation. |
Thanks!I will do that.
发自我的 iPhone
… 在 2018年6月15日,下午4:03,MiguelMonteiro ***@***.***> 写道:
It will only work for segmentation.
I think you should read this paper before deciding if this is appropriate for your use-case.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hello, may I ask if you have implemented CRFasRNNLayer in FCN, how is it implemented? Thank you. @yoyoleeisstrong @MiguelMonteiro |
If I combine FCN with your crfasrnn, there is a problem.
In crf_rnn_layer.py, 44 column, all_ones = np.ones(unaries_shape, dtype=np.float32), because there is no definite batchzie in model defining process, the batchsize of unaries is None. The error is TypeError: index returned non-int (type NoneType.
Can you give some training examples using your crfasrnn? Thanks!
The text was updated successfully, but these errors were encountered: