Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Handling destruction of empty Net objects #5588
+3
−1
Conversation
|
Thanks for the fix! |
shelhamer
merged commit c293d9d
into
BVLC:master
May 4, 2017
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
This was referenced May 6, 2017
ShaggO
deleted the
ShaggO:matlab-fix-delete branch
May 23, 2017
meixiaofeng
commented
May 24, 2017
|
This fix may still lead to error,I change the code to this, and everything gets all right: |
meixiaofeng
added a commit
to meixiaofeng/caffe
that referenced
this pull request
May 24, 2017
|
|
meixiaofeng |
cea9181
|
This was referenced May 24, 2017
mingzizongyouchongtu
commented
Jun 8, 2017
|
The similar issue that I have encountered as follow: Error in caffe.Solver/delete (line 40) The solution to this issue as the same to @meixiaofeng way. I change the code to as follow: Finally, thx to @meixiaofeng. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ShaggO commentedMay 4, 2017
When constructing a network, the internal object initialization of Matlab actually creates a new network and replaces the already instantiated object, causing an empty network to be deleted. This PR checks if the caffe net pointer is defined before calling the net-deletion-function in caffe_.cpp.
Fixes #5346