some changes, fix opencv

This commit is contained in:
Joseph Redmon
2016-06-09 14:52:09 -07:00
parent 7520949d84
commit 8a6ba2fff3
5 changed files with 7 additions and 6 deletions

View File

@ -253,6 +253,7 @@ void backward_network(network net, network_state state)
int i;
float *original_input = state.input;
float *original_delta = state.delta;
state.workspace = net.workspace;
for(i = net.n-1; i >= 0; --i){
state.index = i;
if(i == 0){