mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
flush stdout
This commit is contained in:
parent
f2ae18e825
commit
ae43771ca2
@ -220,6 +220,7 @@ void test_detection(char *cfgfile, char *weightfile)
|
||||
char filename[256];
|
||||
while(1){
|
||||
printf("Image Path: ");
|
||||
fflush(stdout);
|
||||
fgets(filename, 256, stdin);
|
||||
strtok(filename, "\n");
|
||||
image im = load_image_color(filename,0,0);
|
||||
|
Loading…
Reference in New Issue
Block a user