Open claudehang opened 6 years ago
That was a easy fix. But then I came across something not right:
make: *** No rule to make target `.build_release/src/caffe/test/test_augment.o', needed by `.build_release/test/test_augment.testbin'. Stop.
make: *** Waiting for unfinished jobs....
What should I do with this? Thanks!!
I once used the file test_augment.cpp
just for temporary testing. You can delete this file or rename it. Sorry for that. By the way, I have never run make test
, so I'm not sure whether there has other problem about testing.
Oh, I see and you are so nice. Actually I want to get a file that locates in directory: build/examples/YOLO/demo_yolov3.bin
and I simply could not find it after make all
command. But examples/YOLO/demo_yolov3.sh
requires for that very file. Could you give me any guidance? Really appreciate your kindly answer!
I can compile out the demo_yolov3.bin
in my machine with make
, maybe you can compile again or modify the Makefile
.
The ./examples/FRCNN/*
part failed to compile and throw out error, which I took for warning. I can only delete all the file under this directory so as to proceed to compiling yolo example. Thanks dude!
Hello~Recently I am curious about something of YOLOv3 in your code. Here is the code snippet in ./src/caffe/YOLO/yolo_layer.cpp
:
void forward_yolo_layer_cpu(const float* input,layer l)
{
//copy_gpu(l.batch*l.inputs,(float*)input,1,l.output_gpu,1);
std::memcpy(l.output, (float*)input, l.batch*l.inputs*sizeof(float));
int b,n;
for(b = 0;b < l.batch;++b){
for(n =0;n< l.n;++n){
int index = entry_index(l,b,n*l.w*l.h,0);
//activate_array_gpu(l.output_gpu + index, 2*l.w*l.h,LOGISTIC);
activate_array(l.output + index, 2*l.w*l.h);
index = entry_index(l,b,n*l.w*l.h,4);
//activate_array_gpu(l.output_gpu + index,(1 + l.classes)*l.w*l.h,LOGISTIC);
activate_array(l.output + index,(1 + l.classes)*l.w*l.h);
}
}
// cuda_pull_array(l.output_gpu,l.output,l.batch*l.outputs);
}
I wonder why you are not using the commented function activate_array_gpu
, which is intended to be a faster implementation with GPU computing for activation layer. By the way I did not find the code for function activate_array_gpu
in your project. So what happened to this particular function? I would be very thankful for your replying!
The code about yolo layer is copied from pjreddie/darknet
, and you can find the xx_gpu functions at that repo. I didn't include those gpu code cause I need time to modify the code to switch between GPU/CPU elegantly.
Thanks man! Everything is clear after checking the source code of Darknet
.
After successfully
make all
, I continue withmake test
while getting this error:Couldn't find any valid solution. Any suggestions? Many Thanks!