Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No detection during test time #38

Open
wendyzzzw opened this issue May 20, 2019 · 12 comments
Open

No detection during test time #38

wendyzzzw opened this issue May 20, 2019 · 12 comments

Comments

@wendyzzzw
Copy link

I was trying to reproduce the result with COWC, however, there are no cars detected during test time while the loss curve during training time looks reasonable:

yolt_loss_plot_tiny_cowc

I was using yolo-v2-tiny config and weights, and I was using Tesla K80 on GCP with CUDA Version: 10.1. Any idea on what's going wrong??

@avanetten
Copy link
Owner

It's hard to determine what might be happening without further details. What test data are you using, and what parameters are used for the test command?

@wendyzzzw
Copy link
Author

@avanetten I am using the COWC data, here are my commands for training and testing:

python simrdwn/core/simrdwn.py \ --framework yolt2 \ --mode train \ --outname yolov2_cars \ --yolt_cfg_file yolov2tiny.cfg \ --weight_dir simrdwn2/yolt2/input_weights \ --weight_file yolov2-tiny.weights \ --yolt_train_images_list_file cowc_yolt_train_list.txt \ --label_map_path simrdwn2/train_data/class_labels_car.pbtxt \ --nbands 3 \ --max_batches 10000 \ --batch_size 64 \ --subdivisions 32 \ --gpu 0

python simrdwn/core/simrdwn.py \ --framework yolt2 \ --mode test \ --outname yolov2_cars \ --label_map_path 'simrdwn/train_data/class_labels_car.pbtxt' \ --train_model_path 'train_yolt2_yolov2_cars_2019_05_30_06-30-51' \ --weight_file yolov2tiny_final.weights \ --yolt_cfg_file yolov2tiny.cfg \ --testims_dir 'test_images/cowc' \ --keep_test_slices 0 \ --test_slice_sep __ \ --test_make_legend_and_title 0 \ --edge_buffer_test 1 \ --test_box_rescale_frac 1 \ --plot_thresh_str 0.01 \ --slice_sizes_str 416 \ --slice_overlap 0.2 \ --alpha_scaling 1 \ --show_labels 1

@wendyzzzw
Copy link
Author

@avanetten also, sometimes there is a bug showing up during test time: pd.read_csv cannot find file "results/test_xxxxxx/cars.txt"

This bug can be fixed by just re-making yolt2. I am not sure why this is happening.

@MhmdDimassi
Copy link

I have the same problem, did you fix it?
@wendyzzzw

@avanetten
Copy link
Owner

Can you print out the output of the test script? The issue in pd.read_csv() is usually caused because there was an error further upstream and the inference script did not run correctly

@MhmdDimassi
Copy link

MhmdDimassi commented Jun 12, 2019

Yes sure, i was print it now in my issue: #44 (comment)

@ssunlin
Copy link

ssunlin commented Sep 22, 2019

I was trying to reproduce the result with COWC, however, there are no cars detected during test time while the loss curve during training time looks reasonable:

yolt_loss_plot_tiny_cowc

I was using yolo-v2-tiny config and weights, and I was using Tesla K80 on GCP with CUDA Version: 10.1. Any idea on what's going wrong??

@avanetten I have encountered a similar situation.
yolt_loss_plot
I think , even though the model don't convergence correctly, there should be some wrong boxes in the output file,while there is nothing. It makes me confused.

@Spiruel
Copy link

Spiruel commented Nov 7, 2019

I have the same problem. @MhmdDimassi @wendyzzzw did you manage to fix it?

@MhmdDimassi
Copy link

I have the same problem. @MhmdDimassi @wendyzzzw did you manage to fix it?

Can you please put the test command that you use

@Spiruel
Copy link

Spiruel commented Nov 7, 2019

I have the same problem. @MhmdDimassi @wendyzzzw did you manage to fix it?

Can you please put the test command that you use

python simrdwn/core/simrdwn.py --framework yolt2 --mode test --outname dense_cowc --label_map_path class_labels_car.pbtxt --train_model_path /simrdwn/results/train_yolt2_dense_cars_2019_11_05_16-40-12 --weight_file ave_dense_final.weights --yolt_cfg_file ave_dense.cfg --testims_dir cowc/Utah_AGRC --keep_test_slices 0 --test_slice_sep __ --test_make_legend_and_title 0 --edge_buffer_test 1 --test_box_rescale_frac 1 --plot_thresh_str 0.2 --slice_sizes_str 416 --slice_overlap 0.2 --alpha_scaling 1 --show_labels 1

@avanetten
Copy link
Owner

This is likely an issue with YOLO and updates to architectures (see #31 (comment)). You may need to experiment with the yolt2 Makefile.

@Spiruel
Copy link

Spiruel commented Nov 7, 2019

This is likely an issue with YOLO and updates to architectures (see #31 (comment)). You may need to experiment with the yolt2 Makefile.

OK thanks I will look into this. Do you have any working COWC weights that I may use to help debug, so I can avoid training all over again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants