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 : 1739776 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 : 3427>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/1739776/ 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.5848746299743652 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 Fri Aug 22 01:27: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/1755818849_1739776_1378365181_32ea9cba4ccffd9e2651ff81fb56063d.jpg resize: (1080, 1632) 1378365181 -5.772194032072575 treat image : temp/1755818849_1739776_1378365142_268c1fe79df2e97e0d472e475738cb6d.jpg resize: (1080, 1632) 1378365142 -5.34454077636805 treat image : temp/1755818849_1739776_1378364993_529fa1a61b682b9b6331ce0ebd28f51b.jpg resize: (1080, 1632) 1378364993 -5.255901729698525 treat image : temp/1755818849_1739776_1378364967_d82a7195acaaee6d4cb27e4eff9cb888.jpg resize: (1080, 1632) 1378364967 -5.404668820496089 treat image : temp/1755818849_1739776_1378364942_97b1d2e1cbae23e374c9956fd13debbe.jpg resize: (1080, 1632) 1378364942 -4.380073297478581 treat image : temp/1755818849_1739776_1378364906_18eb464c2b37e61e4de07c02d28d8ec9.jpg resize: (1080, 1632) 1378364906 -1.617647073708078 treat image : temp/1755818849_1739776_1378364888_e68f2faf8aa9b8de9560b40310d84c3b.jpg resize: (1080, 1632) 1378364888 -0.09046154989906832 treat image : temp/1755818849_1739776_1378364880_36417053cc5e8c9cd629c0bf8226f906.jpg resize: (1080, 1632) 1378364880 -3.766641609661642 treat image : temp/1755818849_1739776_1378364599_9202cef63fad9e61b4473acb4b6f4f6d.jpg resize: (1080, 1632) 1378364599 -2.858314272485741 treat image : temp/1755818849_1739776_1378364597_5d2014a88213bde37c71262a5f0ce708.jpg resize: (1080, 1632) 1378364597 -5.847232085229442 treat image : temp/1755818849_1739776_1378364594_923dfae75e317bbd6112b7feaa5daa17.jpg resize: (1080, 1632) 1378364594 -5.6399430012351885 treat image : temp/1755818849_1739776_1378364592_0012e9ccb148971e533547aa39535290.jpg resize: (1080, 1632) 1378364592 -5.141770842079906 treat image : temp/1755818849_1739776_1378364589_0b45d304f37e2edd9a8b180d39b6bc36.jpg resize: (1080, 1632) 1378364589 -5.633808754206017 treat image : temp/1755818849_1739776_1378364587_a9e5b123bc06f698ba0b48e6cff7a506.jpg resize: (1080, 1632) 1378364587 -5.559494082380149 treat image : temp/1755818849_1739776_1378364560_7d43f78f24de4d189bce343191b44d24.jpg resize: (1080, 1632) 1378364560 -5.043325910352017 treat image : temp/1755818849_1739776_1378364547_5a6fcd3dc4646df582c3b013484c1548.jpg resize: (1080, 1632) 1378364547 -5.078556783759418 treat image : temp/1755818849_1739776_1378364532_8a37109d402e9869345b6c5eba3d897f.jpg resize: (1080, 1632) 1378364532 -4.228741432792558 treat image : temp/1755818849_1739776_1378364508_637ded837a0facbb4016843498ca147d.jpg resize: (1080, 1632) 1378364508 -4.4845272100233995 treat image : temp/1755818849_1739776_1378364486_4982d05710a986a3dc3fd9ff5d8318ff.jpg resize: (1080, 1632) 1378364486 -0.8792178658520367 treat image : temp/1755818849_1739776_1378364483_e09a2462cda37d0f95fd20125382e818.jpg resize: (1080, 1632) 1378364483 -1.0735253977181873 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.012708425521850586 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.013939619064331055 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018951892852783203 save missing photos in datou_result : time spend for datou_step_exec : 16.237414360046387 time spend to save output : 0.0508580207824707 total time spend for step 1 : 16.288272380828857 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.99user 3.81system 0:22.48elapsed 83%CPU (0avgtext+0avgdata 138164maxresident)k 136inputs+9160outputs (14major+264086minor)pagefaults 0swaps