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 : 1774952 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 updating current state to 1 we have a portfolio with more photos than limit : 246>100 please execute split_portfolio.py -i 26419647 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3648890'] with mtr_portfolio_ids : ['26419647'] and first list_photo_ids : [] new path : /proc/1774952/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 2.113211154937744 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 Tue Sep 2 05:32:28 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/1756783946_1774952_1380769939_31adbfb166d6431d876a4db637e77f16_99029204.jpg resize: (1080, 1632) 1380769939 -3.8401283545410414 treat image : temp/1756783946_1774952_1380769938_5bdcd041770a1fb31d73cc44d4531c49_17704017.jpg resize: (1080, 1632) 1380769938 -5.819682052572926 treat image : temp/1756783946_1774952_1380769937_629e18d053258fe6c137db4b78bff8b2_35135548.jpg resize: (1080, 1632) 1380769937 -5.844573375464354 treat image : temp/1756783946_1774952_1380769936_77e24c77b0fc867290baedb80ab8830e_72606621.jpg resize: (1080, 1632) 1380769936 -5.755979870278784 treat image : temp/1756783946_1774952_1380769935_d115fcadf6fb9cc7b325f39b892189ee_7696773.jpg resize: (1080, 1632) 1380769935 -5.947116492092932 treat image : temp/1756783946_1774952_1380769934_8c3eecdf2a33088bf8a59abde57c05d3_49313066.jpg resize: (1080, 1632) 1380769934 -5.597257234888906 treat image : temp/1756783946_1774952_1380769916_cfc72ecc3ac4e87a81dca6f0a7ccc0f4_89324099.jpg resize: (1080, 1632) 1380769916 -2.200414534616336 treat image : temp/1756783946_1774952_1380769915_57646490a329321d2c89fb0c1038143a_69106044.jpg resize: (1080, 1632) 1380769915 -1.9144321907078743 treat image : temp/1756783946_1774952_1380769914_d1289c3df9c9af6861758fa47f1277aa_22384851.jpg resize: (1080, 1632) 1380769914 -1.4085881682402612 treat image : temp/1756783946_1774952_1380769913_b35f10a5f349f050607c68ca304f8fe5_1360709.jpg resize: (1080, 1632) 1380769913 -4.5254844416834725 treat image : temp/1756783946_1774952_1380769912_3c3562bc17d8ac1df90dbef868cf8f46_38225529.jpg resize: (1080, 1632) 1380769912 -4.458973476339151 treat image : temp/1756783946_1774952_1380769888_3e0277a6d7b93be357170ae495ac8842_99995497.jpg resize: (1080, 1632) 1380769888 -3.7133852963097307 treat image : temp/1756783946_1774952_1380769887_ca9ade27bd2d6ebfe8ab9d3c9ea45438_12402369.jpg resize: (1080, 1632) 1380769887 -5.676626166521851 treat image : temp/1756783946_1774952_1380769886_86b026540d5f82b20e7b1788c41149b2_77831430.jpg resize: (1080, 1632) 1380769886 -5.1873845474244895 treat image : temp/1756783946_1774952_1380769885_9311eb4aa3fa160f11cc1f67f757a972_13412609.jpg resize: (1080, 1632) 1380769885 -7.202111710260191 treat image : temp/1756783946_1774952_1380769884_683d29f0daca8cea4bb869681178cadd_84472271.jpg resize: (1080, 1632) 1380769884 -6.164356538020567 treat image : temp/1756783946_1774952_1380769883_436e6538c978a4bcfeed5452f8ebd71c_15688075.jpg resize: (1080, 1632) 1380769883 -4.317195600000114 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 : 17 time used for this insertion : 0.018672943115234375 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.12304162979125977 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.19192743301391602 save missing photos in datou_result : time spend for datou_step_exec : 14.12793231010437 time spend to save output : 0.3383305072784424 total time spend for step 1 : 14.466262817382812 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 17 set_done_treatment 12.77user 3.74system 0:18.20elapsed 90%CPU (0avgtext+0avgdata 138440maxresident)k 296inputs+8584outputs (14major+228552minor)pagefaults 0swaps