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 : 2685118 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 : 1457>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/2685118/ 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.575019121170044 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 Fri Jul 11 05:02:29 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/1752202947_2685118_1371548205_b37f309c33ce485f6b2ff449e197bf1c.jpg resize: (1080, 1632) 1371548205 -5.346073784037468 treat image : temp/1752202947_2685118_1371548203_3351ca524ada6817aa74ab32ab74fb43.jpg resize: (1080, 1632) 1371548203 -5.346480633558382 treat image : temp/1752202947_2685118_1371548187_0f0a5601a24a8593bf2a609816e1098b.jpg resize: (1080, 1632) 1371548187 -5.343120323893066 treat image : temp/1752202947_2685118_1371548186_12248aaff48198fc6e32c3d9ca366c91.jpg resize: (1080, 1632) 1371548186 -5.341367699222976 treat image : temp/1752202947_2685118_1371548020_32502d37f80b342468ecd0270efabbb3.jpg resize: (1080, 1632) 1371548020 -5.3540889507037885 treat image : temp/1752202947_2685118_1371548019_d7d42f9d9b6fcebc1b0bf4bbea578dd9.jpg resize: (1080, 1632) 1371548019 -5.3514346907893335 treat image : temp/1752202947_2685118_1371547950_1e6a674294bb779af4ec15f90b2eaf95.jpg resize: (1080, 1632) 1371547950 -5.3438585359113455 treat image : temp/1752202947_2685118_1371547938_fa627dfd0f61387de3ccc50ebe8a45da.jpg resize: (1080, 1632) 1371547938 -5.349406718296485 treat image : temp/1752202947_2685118_1371547840_c3b0de5debcb60bc4a7758df984e0b2a.jpg resize: (1080, 1632) 1371547840 -5.350590711887367 treat image : temp/1752202947_2685118_1371547794_d9116ef9dc2b0a74c9f2d8b528eb090f.jpg resize: (1080, 1632) 1371547794 -5.346614424816289 treat image : temp/1752202947_2685118_1371547691_be2218a1b810806996a6a29e12cbc9f2.jpg resize: (1080, 1632) 1371547691 -5.338701650119906 treat image : temp/1752202947_2685118_1371547620_723b59daf514a47e20af0a9e562eb93a.jpg resize: (1080, 1632) 1371547620 -5.346122622233603 treat image : temp/1752202947_2685118_1371547566_c0826f1699052ac60d208f47b4afd572.jpg resize: (1080, 1632) 1371547566 -5.344245251152639 treat image : temp/1752202947_2685118_1371547466_ef879e2fef270f6be7c5b2584e43f889.jpg resize: (1080, 1632) 1371547466 -5.340921421951387 treat image : temp/1752202947_2685118_1371547367_19f758599006c7ee96363929c27c4b1b.jpg resize: (1080, 1632) 1371547367 -5.342580260844334 treat image : temp/1752202947_2685118_1371547347_1310d0457be3e2e6b79b164489644585.jpg resize: (1080, 1632) 1371547347 -5.3558229290121036 treat image : temp/1752202947_2685118_1371547230_540a6dc2158035916bff05b8bc93f43a.jpg resize: (1080, 1632) 1371547230 -5.347627042577614 treat image : temp/1752202947_2685118_1371547105_cbdf0c410714dee3ba1a26b63055ddb8.jpg resize: (1080, 1632) 1371547105 -5.349921980836785 treat image : temp/1752202947_2685118_1371547041_ef7aed3cd04082f70c70826ce1b75624.jpg resize: (1080, 1632) 1371547041 -5.35002735883574 treat image : temp/1752202947_2685118_1371547029_a04cb04dacd30f4ce38d1bf5bc8fa552.jpg resize: (1080, 1632) 1371547029 -5.3458938097771025 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.14937829971313477 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.017933368682861328 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020894527435302734 save missing photos in datou_result : time spend for datou_step_exec : 15.997364044189453 time spend to save output : 0.24649906158447266 total time spend for step 1 : 16.243863105773926 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.92user 4.83system 0:21.22elapsed 88%CPU (0avgtext+0avgdata 139892maxresident)k 85512inputs+10424outputs (585major+260958minor)pagefaults 0swaps