how to modify mxnet/src/regression_output-inl.h
how to modify mxnet/src/regression_output-inl.h according to mxnet_diff.patch?
@Cv9527 Copy mxnet_diff.patch to your mxnet path and run git apply mxnet_diff.patch
If I use Windows, how to do ?
If I had compiled the mxnet , should I make clean ./build folder , then run git apply mxnet_diff.patch and run make to compiled the mxnet?
@dtivger No it's not necessary to make clean, just git apply then run make.
@Seanlinx thanks
@Seanlinx git apply mxnet_diff.patch !error: patch failed: src/operator/regression_output-inl.h:25 error: src/operator/regression_output-inl.h: patch does not apply
@Fei-dong I got the same problem with you. Have you figured it out?
@Seanlinx when I modify mxnet/src/regression_output-inl.h according to mxnet_diff.patch with the code : git apply mxnet_diff.patch, I got this error:
error: patch failed: src/operator/regression_output-inl.h:75 error: src/operator/regression_output-inl.h: patch does not apply
May you please tell me how to get rid of it ? Thank you very much!
@Fei-dong You need make sure the mxnet version is right. I got right result on mxnetv0.9.5 and find some code is changed of the ‘regression_output-inl.h’ on the higher version.
why should modify mxnet/src/regression_output-inl.h @Seanlinx I can run normally without modify regression_output-inl.h. However, the accuracy of pnet alway below 0.75. Are there any connection between the two?