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 : 1306837 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 : 1411>100 please execute split_portfolio.py -i 26218397 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3594324'] with mtr_portfolio_ids : ['26218397'] and first list_photo_ids : [] new path : /proc/1306837/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.191624641418457 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 Aug 26 15:47:31 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/1756216049_1306837_1379459552_9a17a3ba30b75d97ab0c8bdc578800b0_15582528.jpg resize: (1080, 1632) 1379459552 -6.086261949267049 treat image : temp/1756216049_1306837_1379459546_d51ab1204c9816e1c21d0c577a042982_66321749.jpg resize: (1080, 1632) 1379459546 -5.2753548724530015 treat image : temp/1756216049_1306837_1379459543_e88ed0b559974870006e19d6e1b62a05_83571702.jpg resize: (1080, 1632) 1379459543 -5.3021680779805616 treat image : temp/1756216049_1306837_1379459541_ba225e79438d442686624855e59504bb_21071379.jpg resize: (1080, 1632) 1379459541 -0.7330318867328568 treat image : temp/1756216049_1306837_1379459482_dcafe5fa41dc91fc1922fe39cfe5f619_50540059.jpg resize: (1080, 1632) 1379459482 -1.5357195213430648 treat image : temp/1756216049_1306837_1379459480_a25b931cd340e73ccee3d1658456c49f_34391407.jpg resize: (1080, 1632) 1379459480 -0.3693240763884899 treat image : temp/1756216049_1306837_1379459478_a4d1dc9e1199b98b02fd6b3b2d209916_1341206.jpg resize: (1080, 1632) 1379459478 -1.9985699656390725 treat image : temp/1756216049_1306837_1379459476_58742f009fe2b7dc8441471369c09174_7695192.jpg resize: (1080, 1632) 1379459476 -3.1292049291754767 treat image : temp/1756216049_1306837_1379459474_78d20102764bbc4df2d223a73e586a6e_83696028.jpg resize: (1080, 1632) 1379459474 -3.16481269134772 treat image : temp/1756216049_1306837_1379459472_c28885ffc0d5c7881d9158db0cfe8802_70797475.jpg resize: (1080, 1632) 1379459472 -4.150181791461618 treat image : temp/1756216049_1306837_1379458732_9a17a3ba30b75d97ab0c8bdc578800b0_52984311.jpg resize: (1080, 1632) 1379458732 -6.086261949267049 treat image : temp/1756216049_1306837_1379458729_d51ab1204c9816e1c21d0c577a042982_6664550.jpg resize: (1080, 1632) 1379458729 -5.2753548724530015 treat image : temp/1756216049_1306837_1379458726_e88ed0b559974870006e19d6e1b62a05_87152004.jpg resize: (1080, 1632) 1379458726 -5.3021680779805616 treat image : temp/1756216049_1306837_1379458723_ba225e79438d442686624855e59504bb_7966160.jpg resize: (1080, 1632) 1379458723 -0.7330318867328568 treat image : temp/1756216049_1306837_1379458452_96e27039d892070ecfadaa74d85e6c1f_29446415.jpg resize: (1080, 1632) 1379458452 -5.195469455955818 treat image : temp/1756216049_1306837_1379458451_657cac335ed764106d30b82855ba4a83_92423154.jpg resize: (1080, 1632) 1379458451 -4.900581454814809 treat image : temp/1756216049_1306837_1379458450_052ce9e0a672b60fe4bdbfa132817d5b_16805668.jpg resize: (1080, 1632) 1379458450 -3.911774466361249 treat image : temp/1756216049_1306837_1379458449_bdc5116ce855ee4d47e4a9c51c60e3c1_73745767.jpg resize: (1080, 1632) 1379458449 -4.338924675277026 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 : 18 time used for this insertion : 0.016677141189575195 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012082099914550781 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01688671112060547 save missing photos in datou_result : time spend for datou_step_exec : 14.800907611846924 time spend to save output : 0.050553321838378906 total time spend for step 1 : 14.851460933685303 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.12user 3.98system 0:20.59elapsed 83%CPU (0avgtext+0avgdata 139044maxresident)k 2800inputs+7560outputs (15major+232952minor)pagefaults 0swaps