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 : 1305273 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 : 1933>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1305273/ 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.2623672485351562 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 Thu Aug 21 22:22:32 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/1755807749_1305273_1378284021_d04a7b1615b199655174fd8544d1b674.jpg resize: (1080, 1632) 1378284021 -2.3577532947415007 treat image : temp/1755807749_1305273_1378283980_7036e69dd2e4b7f86a221d5bc0bd781a.jpg resize: (1080, 1632) 1378283980 -1.2668829808888515 treat image : temp/1755807749_1305273_1378283922_f374f09fb209c9b0c0cbec5807638994.jpg resize: (1080, 1632) 1378283922 -4.391225651666544 treat image : temp/1755807749_1305273_1378283874_d4c4ae9dfa58909a28851eb9e6c11f91.jpg resize: (1080, 1632) 1378283874 -4.995376299100334 treat image : temp/1755807749_1305273_1378283800_d1f9ca71126e6d0a93fc7c291c281e65.jpg resize: (1080, 1632) 1378283800 -4.912177780440975 treat image : temp/1755807749_1305273_1378283715_90f2d64fe3cc753df82a84695d719961.jpg resize: (1080, 1632) 1378283715 -6.46446379373529 treat image : temp/1755807749_1305273_1378283502_5c5b6d9b80716d2c8c2cf9bdf7f25003.jpg resize: (1080, 1632) 1378283502 -4.724039831268609 treat image : temp/1755807749_1305273_1378283443_a91d8610962b624df250a458f0f86b33.jpg resize: (1080, 1632) 1378283443 -4.641973472411764 treat image : temp/1755807749_1305273_1378283391_22b1fddeaf20577d45d9c9fd62366102.jpg resize: (1080, 1632) 1378283391 -5.403918345652262 treat image : temp/1755807749_1305273_1378283334_0c98d78b58ec77462e953eda820c0530.jpg resize: (1080, 1632) 1378283334 -5.337868245421049 treat image : temp/1755807749_1305273_1378283285_85dce23bfd294ed4f0712551d866c054.jpg resize: (1080, 1632) 1378283285 -4.290753311973273 treat image : temp/1755807749_1305273_1378283257_2eaa0916cbebd7a7d18a266a4d8491e8.jpg resize: (1080, 1632) 1378283257 0.5139097383329113 treat image : temp/1755807749_1305273_1378280861_4e6a6851b9fc716daefca62a711fad1b.jpg resize: (1080, 1632) 1378280861 -1.7270674433267768 treat image : temp/1755807749_1305273_1378280781_58594f6953f657ef799084c7685b56e1.jpg resize: (1080, 1632) 1378280781 -4.6632586695091565 treat image : temp/1755807749_1305273_1378280727_ff59eea702831e49e46c3d79f93b1022.jpg resize: (1080, 1632) 1378280727 -5.329105765081618 treat image : temp/1755807749_1305273_1378280638_a353f461fb09efdea2fb311a99568040.jpg resize: (1080, 1632) 1378280638 -5.846067117745685 treat image : temp/1755807749_1305273_1378280274_f32ecab5bc28b96d22f0bfada3c8627a.jpg resize: (1080, 1632) 1378280274 -5.64361826896743 treat image : temp/1755807749_1305273_1378280155_27e579ebf977e8bc2da4704547fc82e2.jpg resize: (1080, 1632) 1378280155 -5.507389350709951 treat image : temp/1755807749_1305273_1378280029_eeef0890263c5d79bda5750ecfe9f5e7.jpg resize: (1080, 1632) 1378280029 -5.338320975929033 treat image : temp/1755807749_1305273_1378279917_539019ce23c29addfde63432261ea49c.jpg resize: (1080, 1632) 1378279917 -1.3020846974459706 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.011877298355102539 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.011788129806518555 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015200614929199219 save missing photos in datou_result : time spend for datou_step_exec : 17.74926209449768 time spend to save output : 0.04355573654174805 total time spend for step 1 : 17.79281783103943 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.91user 5.38system 0:24.12elapsed 84%CPU (0avgtext+0avgdata 140380maxresident)k 56inputs+9176outputs (14major+258487minor)pagefaults 0swaps