python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4871 -l 100 ' -s datou_current_4871 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 517427 load datou : 4871 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 1129>100 please execute split_portfolio.py -i 20166663 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2538794'] with mtr_portfolio_ids : ['20166663'] and first list_photo_ids : [] new path : /proc/517427/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : blur_detection over limit max, limiting to limit_max 20 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 2.15104079246521 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:blur_detection Mon Feb 3 16:07:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec inside step blur_detection methode: ratio et variance treat image : temp/1738595248_517427_1334238755_fb73dc955c0a43b43b44a6777a0e8718.jpg resize: (1080, 1632) 1334238755 -5.9537318378420165 treat image : temp/1738595248_517427_1334238752_3169675deb561e467a4ae7fde6595bc0.jpg resize: (1080, 1632) 1334238752 -3.9956985892823123 treat image : temp/1738595248_517427_1334238749_0558a9094bf606c13d44a006ef18481a.jpg resize: (1080, 1632) 1334238749 -6.006119167310833 treat image : temp/1738595248_517427_1334238717_e9a82e5bc1163a3d85c4e611f67bb7f4.jpg resize: (1080, 1632) 1334238717 -4.683063950355481 treat image : temp/1738595248_517427_1334238704_44ee0e66c107b118d59889cf152c7982.jpg resize: (1080, 1632) 1334238704 -5.427930058482377 treat image : temp/1738595248_517427_1334237771_de964a10e7c88d91ab677b4be4dafc32.jpg resize: (1080, 1632) 1334237771 -5.336981262907859 treat image : temp/1738595248_517427_1334237685_51b71a55e266515041900b3162f41bc3.jpg resize: (1080, 1632) 1334237685 -2.3761674350471536 treat image : temp/1738595248_517427_1334237586_f35a48d1ebf959d8a7e192efe701afdb.jpg resize: (1080, 1632) 1334237586 -0.8986540180637876 treat image : temp/1738595248_517427_1334237503_d895c2eb9f24e9d35137161a4e960327.jpg resize: (1080, 1632) 1334237503 -2.6094388378342788 treat image : temp/1738595248_517427_1334237152_0c6821cf693bf8bf2b2a5f02a8f30ac9.jpg resize: (1080, 1632) 1334237152 -5.959164122997137 treat image : temp/1738595248_517427_1334237148_8ed4683f654cecf75b7b0a3f6650250f.jpg resize: (1080, 1632) 1334237148 -5.383962079202671 treat image : temp/1738595248_517427_1334237145_585241045188fd5ce28c07f8f8e5d344.jpg resize: (1080, 1632) 1334237145 -6.122677376630994 treat image : temp/1738595248_517427_1334237141_44e05dd6ea62fa2ab5fd9dc65cfb377c.jpg resize: (1080, 1632) 1334237141 -4.5223202432350655 treat image : temp/1738595248_517427_1334237140_111ab5775834566e115e9610f72ec437.jpg resize: (1080, 1632) 1334237140 -6.0291475968553465 treat image : temp/1738595248_517427_1334236418_92d07ef615dd055a2978aee4bb75e544.jpg resize: (1080, 1632) 1334236418 -2.5297119275393523 treat image : temp/1738595248_517427_1334236328_3cc734a5cbfb4561fef670f07f4e8831.jpg resize: (1080, 1632) 1334236328 -1.9047285994665253 treat image : temp/1738595248_517427_1334236199_194279eae2e5d0c686a2f121ce243326.jpg resize: (1080, 1632) 1334236199 -4.069890025664984 treat image : temp/1738595248_517427_1334236118_27698ff35939d2619384bac4b1e4e94d.jpg resize: (1080, 1632) 1334236118 -6.001799326830877 treat image : temp/1738595248_517427_1334236028_5488ef36f50f8f32a078f624da44ab30.jpg resize: (1080, 1632) 1334236028 -6.161476084930906 treat image : temp/1738595248_517427_1334235945_08a238282bfd9cf437134d93778e080c.jpg resize: (1080, 1632) 1334235945 -5.936178126371672 Inside saveOutput : final : True verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.20310020446777344 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.01357579231262207 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015115499496459961 save missing photos in datou_result : time spend for datou_step_exec : 20.766931295394897 time spend to save output : 0.27059221267700195 total time spend for step 1 : 21.0375235080719 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.38user 7.97system 0:27.68elapsed 84%CPU (0avgtext+0avgdata 138416maxresident)k 107768inputs+10064outputs (2751major+161245minor)pagefaults 0swaps