avanetten / simrdwn

Rapid satellite imagery object detection
216 stars 153 forks source link

AttributeError: 'NoneType' object has no attribute 'simrdwn_dir' #93

Closed fcu-d0347516 closed 4 years ago

fcu-d0347516 commented 4 years ago

Hello ,I use the dataset form COWC and have some problem when i start training .Can you help me?

python /home/jack/simrdwn-master/simrdwn/core/simrdwn.py \ --framework yolt3 \ --mode train \ --outname dense_cowc \ --yolt_object_labels_str car \ --yolt_cfg_file yolt.cfg \ --weight_file /simrdwn/core/yolov3.weights \ --yolt_train_images_list_file cowc_yolt_train_list.txt \ --label_map_path /home/jack/simrdwn-master/data/class_labels_car.pbtxt \ --max_batches 30000 \ --batch_size 64 \ --subdivisions 16 \ --gpu 0

image

annalisasheehan commented 4 years ago

Hi, I'm having the same issue, did you manage to fix?

sunyuxiu commented 3 years ago

Hi, this issues maybe can help you :https://github.com/avanetten/simrdwn/issues/96

tnmygrwl commented 3 years ago

the solution is to add a --boxes_per_grid flag that is divisible by 3 for yolt3 testing. Without that the update_args function just returns without any args so you get a NoneType error.