mtcnn icon indicating copy to clipboard operation
mtcnn copied to clipboard

how to modify mxnet/src/regression_output-inl.h

Open Cv9527 opened this issue 8 years ago • 10 comments

how to modify mxnet/src/regression_output-inl.h according to mxnet_diff.patch?

Cv9527 avatar Jan 09 '17 02:01 Cv9527

@Cv9527 Copy mxnet_diff.patch to your mxnet path and run git apply mxnet_diff.patch

Seanlinx avatar Jan 09 '17 04:01 Seanlinx

If I use Windows, how to do ?

HZQ-GitHub avatar Jan 09 '17 13:01 HZQ-GitHub

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 avatar Feb 16 '17 06:02 dtivger

@dtivger No it's not necessary to make clean, just git apply then run make.

Seanlinx avatar Feb 16 '17 07:02 Seanlinx

@Seanlinx thanks

dtivger avatar Feb 16 '17 07:02 dtivger

@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

fdong0598 avatar May 16 '18 02:05 fdong0598

@Fei-dong I got the same problem with you. Have you figured it out?

VinsonBlue avatar Jun 08 '18 06:06 VinsonBlue

@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!

VinsonBlue avatar Jun 08 '18 06:06 VinsonBlue

@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.

ygl365166495 avatar Jun 12 '18 03:06 ygl365166495

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?

AaronYoooooooog avatar Aug 22 '18 02:08 AaronYoooooooog