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 : 1391357 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 : 2425>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/1391357/ 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.3373730182647705 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 23:07: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/1755810448_1391357_1378328622_39ea3f30348b7f2b8aee5d9c9918dcb7.jpg resize: (1080, 1632) 1378328622 -5.402991146487538 treat image : temp/1755810448_1391357_1378328597_da7f521b92b0cc8ea370bbf1e77bc3e9.jpg resize: (1080, 1632) 1378328597 -6.0521586456475776 treat image : temp/1755810448_1391357_1378328572_517a69e342463b95bf0f9ef9676844e6.jpg resize: (1080, 1632) 1378328572 -5.705444168937104 treat image : temp/1755810448_1391357_1378328545_63ca9589bd00a74ee48c3c2509fd7c6a.jpg resize: (1080, 1632) 1378328545 -5.428978459079118 treat image : temp/1755810448_1391357_1378328511_2197a6746306e8c9760f837ecf258df5.jpg resize: (1080, 1632) 1378328511 -2.9553591641681867 treat image : temp/1755810448_1391357_1378328484_adb722cbf96f50febe099b2d4b8c08ae.jpg resize: (1080, 1632) 1378328484 -5.707147680337608 treat image : temp/1755810448_1391357_1378328337_bb913abfbba552c9d7937dfeaed73e10.jpg resize: (1080, 1632) 1378328337 -1.2281443782631032 treat image : temp/1755810448_1391357_1378328312_2d9f0ac4a4ae9d51ce219777cb26acf2.jpg resize: (1080, 1632) 1378328312 -5.475503353688964 treat image : temp/1755810448_1391357_1378328271_bc1d6418bf1b067a769fb84009b9ab89.jpg resize: (1080, 1632) 1378328271 -6.10404510272449 treat image : temp/1755810448_1391357_1378328226_33abc89f4019e8aa89bb31582e6aecac.jpg resize: (1080, 1632) 1378328226 -5.9431870638453494 treat image : temp/1755810448_1391357_1378328196_99e46c9a510cf5f7f90fddc6260d0272.jpg resize: (1080, 1632) 1378328196 -5.573811022558747 treat image : temp/1755810448_1391357_1378328166_7c357b8773f20e4aa0ac9df9422187ab.jpg resize: (1080, 1632) 1378328166 -4.748972086060188 treat image : temp/1755810448_1391357_1378327995_c0c1d7d4199d7f7a277f63d598e95bd2.jpg resize: (1080, 1632) 1378327995 -3.2586721398151353 treat image : temp/1755810448_1391357_1378327937_bc7fcb35b14f7050dd42b4353796185a.jpg resize: (1080, 1632) 1378327937 -5.020236776087611 treat image : temp/1755810448_1391357_1378327883_2dc7be51d79d164f8d59d302ef905708.jpg resize: (1080, 1632) 1378327883 -4.552842868283214 treat image : temp/1755810448_1391357_1378327825_850bc577b80183b63a112003bfb67894.jpg resize: (1080, 1632) 1378327825 -4.589208865226708 treat image : temp/1755810448_1391357_1378327778_ecf37b9c19276b581b3f188a7aa4f53b.jpg resize: (1080, 1632) 1378327778 -4.35380615411916 treat image : temp/1755810448_1391357_1378327742_3a9f822d59f03002602948afc2555552.jpg resize: (1080, 1632) 1378327742 -4.743167740140571 treat image : temp/1755810448_1391357_1378326298_0334808944ec7f3d0f6b0e0ab010f66c.jpg resize: (1080, 1632) 1378326298 -5.016150624890308 treat image : temp/1755810448_1391357_1378326286_dcb1a0241d2cf525f0ff2cb229d9a429.jpg resize: (1080, 1632) 1378326286 -5.016150624890308 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.01260519027709961 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.012174367904663086 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014981985092163086 save missing photos in datou_result : time spend for datou_step_exec : 18.813204288482666 time spend to save output : 0.062253713607788086 total time spend for step 1 : 18.875458002090454 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.07user 6.37system 0:24.57elapsed 87%CPU (0avgtext+0avgdata 139152maxresident)k 15280inputs+9872outputs (146major+245481minor)pagefaults 0swaps