Open zzyupupup opened 1 year ago
@zzyupupup The same problem occurs to me. please have you solved this problem?
execute the command darknetp classifier train -pp_start 4 -pp_end 10 cfg/mnist.dataset cfg/mnist_lenet.cfg
Result:
Saving weights to tmp/backup//mnist_lenet.weights
Couldn't open file: tmp/backup//mnist_lenet.weights
when I execute the command
darknetp classifier predict -pp_start 4 -pp_end 10 cfg/mnist.dataset cfg/mnist_lenet.cfg models/mnist/mnist_lenet.weights data/mnist/images/t_00007_c3.png
Result:
output file: /media/results/predict_mnist_lenet_pps4_ppe10.txt
data/mnist/images/t_00007_c3.png: Predicted in 0.049031 seconds.
-0.00%: 0
0.00%: 1
-inf%: 2
-8.37%: 3
0.00%: 4
user CPU start: 3.403040; end: 3.403840
kernel CPU start: 13.971354; end: 13.974640
Max: 2304 kilobytes
vmsize:281470681747204; vmrss:281470681745664; vmdata:281470681744256; vmstk:281470681743492; vmexe:408; vmlib:281470681745604
@mofanv Can you help analyze the possible causes? Thanks.
When I execute the command
darknetp classifier train -pp_start 4 -pp_end 10 cfg/mnist.dataset cfg/mnist_lenet.cfg
to complete the training, the following error occursI made changes
optee/out-br/target/root/cfg/mnist.dataset
after completing training:
But there is no new weight file saved in the folder
execute the command
darknetp classifier predict -pp_start 4 -pp_end 10 cfg/mnist.dataset cfg/mnist_lenet.cfg models/mnist/mnist_lenet.weights data/mnist/images/t_00007_c3.png
This is obviously wrong,How can I solve it?
Any help is appreciated!