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 : 3967872 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 : 4554>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3967872/ 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.3550877571105957 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 Wed Jul 9 20:47: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/1752086847_3967872_1371430759_bbd07bab7a96401844d214d2cb117139.jpg resize: (1080, 1632) 1371430759 -6.0111214651361236 treat image : temp/1752086847_3967872_1371430758_f6b053e1aaecdc39311e94dbf61d1eae.jpg resize: (1080, 1632) 1371430758 -1.9606830885734985 treat image : temp/1752086847_3967872_1371430757_089b7e14b39a4b5d8aff86285d82d114.jpg resize: (1080, 1632) 1371430757 -2.7016225288121363 treat image : temp/1752086847_3967872_1371430756_45effaab99bfc1a6f5eab025c52908fe.jpg resize: (1080, 1632) 1371430756 -2.7415317771885004 treat image : temp/1752086847_3967872_1371430755_c1a08ab6b44ced368171015619e4ef92.jpg resize: (1080, 1632) 1371430755 -2.9069763109847653 treat image : temp/1752086847_3967872_1371430747_eda9067c1daef1d93cd3f4d593fc0ec9.jpg resize: (1080, 1632) 1371430747 -3.7031573293317943 treat image : temp/1752086847_3967872_1371430735_81e31f284843bf151982a8ba883e51f9.jpg resize: (1080, 1632) 1371430735 -4.350967327373082 treat image : temp/1752086847_3967872_1371430733_605936bccd5b1e35a7cef8a95aba6216.jpg resize: (1080, 1632) 1371430733 -4.347396431617464 treat image : temp/1752086847_3967872_1371430731_96ebd65046abc1e61904c7552386859a.jpg resize: (1080, 1632) 1371430731 -4.366331873697765 treat image : temp/1752086847_3967872_1371430730_8258a6663256609c3f8d03cce189f7cd.jpg resize: (1080, 1632) 1371430730 -4.368820858669829 treat image : temp/1752086847_3967872_1371430728_3c6c698719f408fe9b7556ad38885708.jpg resize: (1080, 1632) 1371430728 -4.380452819389308 treat image : temp/1752086847_3967872_1371430727_4ca2228ba35fe85119d8d7436a282feb.jpg resize: (1080, 1632) 1371430727 -4.373915023364781 treat image : temp/1752086847_3967872_1371430726_b38c0b4da31b39d6e7a6a59c949f0aff.jpg resize: (1080, 1632) 1371430726 -4.334293219678915 treat image : temp/1752086847_3967872_1371430725_8af7f7e0ae2c6da7a925624e37494186.jpg resize: (1080, 1632) 1371430725 -4.3328801522548135 treat image : temp/1752086847_3967872_1371430723_e8e29a4d7ab0bfe615f88a0a663e19b4.jpg resize: (1080, 1632) 1371430723 -4.334817294277107 treat image : temp/1752086847_3967872_1371430722_6bdef2fe99c49dd26d2d6463c098e763.jpg resize: (1080, 1632) 1371430722 -4.33954995457956 treat image : temp/1752086847_3967872_1371430720_f660a649e532aa22ecd1fde9880bb0ad.jpg resize: (1080, 1632) 1371430720 -4.34501217018024 treat image : temp/1752086847_3967872_1371430718_025800eca9ab304d25e514cf18c38c86.jpg resize: (1080, 1632) 1371430718 -4.351249806120131 treat image : temp/1752086847_3967872_1371430714_bab86f8fbf5365a61e2ed4672ad55843.jpg resize: (1080, 1632) 1371430714 -6.1828619240722515 treat image : temp/1752086847_3967872_1371430712_0376ae014eb81cbf8223cc9269806aa9.jpg resize: (1080, 1632) 1371430712 -6.004705787940449 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.012130022048950195 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.01327967643737793 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014576911926269531 save missing photos in datou_result : time spend for datou_step_exec : 13.1828932762146 time spend to save output : 0.04480934143066406 total time spend for step 1 : 13.227702617645264 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.11user 1.67system 0:17.40elapsed 90%CPU (0avgtext+0avgdata 139308maxresident)k 160inputs+9096outputs (2major+106865minor)pagefaults 0swaps