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 : 2964034 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/2964034/ 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 : 3.1897003650665283 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 Jul 18 07:42: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/1752817348_2964034_1372324620_acec2d7c3f841c8cf0bf5368856a2370.jpg resize: (1080, 1632) 1372324620 -5.376658045280849 treat image : temp/1752817348_2964034_1372324617_76dfde9b19f8819edf0a00e21eb39c04.jpg resize: (1080, 1632) 1372324617 -5.37713683745573 treat image : temp/1752817348_2964034_1372324601_9ce46e16a2f42905e3621a80ea7a722c.jpg resize: (1080, 1632) 1372324601 -5.402300775766746 treat image : temp/1752817348_2964034_1372324595_9e055b7537e862416c5239065fa605a0.jpg resize: (1080, 1632) 1372324595 -5.401235219697264 treat image : temp/1752817348_2964034_1372324591_d2851da22f271fcea9e1af48d28aa43a.jpg resize: (1080, 1632) 1372324591 -5.395229680412468 treat image : temp/1752817348_2964034_1372324587_f9a5d0b82a96ea6dac3bcf1bd5d91ec0.jpg resize: (1080, 1632) 1372324587 -5.39929484064055 treat image : temp/1752817348_2964034_1372324585_8d4661318a94a273ad9e9be1b18d015c.jpg resize: (1080, 1632) 1372324585 -5.393926842273193 treat image : temp/1752817348_2964034_1372324583_53e671f9a8b313d41c1a34637376e729.jpg resize: (1080, 1632) 1372324583 -5.389461783466517 treat image : temp/1752817348_2964034_1372324566_b31e318da5b06f7b68005540b64e9e2b.jpg resize: (1080, 1632) 1372324566 -5.285806192160097 treat image : temp/1752817348_2964034_1372324564_7f4ebb150513e72a9be6ecb23282d374.jpg resize: (1080, 1632) 1372324564 -5.268723798165121 treat image : temp/1752817348_2964034_1372324562_896e36ec726b2e564786e012ebc3f44a.jpg resize: (1080, 1632) 1372324562 -5.260698353537607 treat image : temp/1752817348_2964034_1372324560_88b1c4d066f968fe622fc4a0af5d3155.jpg resize: (1080, 1632) 1372324560 -5.258541831945337 treat image : temp/1752817348_2964034_1372324559_ffcea4691f82d02929ea391260473e28.jpg resize: (1080, 1632) 1372324559 -5.407900385275713 treat image : temp/1752817348_2964034_1372324557_8e71ca97ea1a9ece1d11e560db13c1b8.jpg resize: (1080, 1632) 1372324557 -5.403744412530057 treat image : temp/1752817348_2964034_1372324534_b7eb2d7def6d04e6c8c924ef850d0599.jpg resize: (1080, 1632) 1372324534 -5.476129445332572 treat image : temp/1752817348_2964034_1372324531_ff000b99911a4364837c3a3f9ae736f6.jpg resize: (1080, 1632) 1372324531 -5.4741423450100966 treat image : temp/1752817348_2964034_1372324530_315d27f8478c334d587a18ac7b2a71a7.jpg resize: (1080, 1632) 1372324530 -5.472140562803209 treat image : temp/1752817348_2964034_1372324529_4dd2989f2eb01f6ebb62bd5e7b1bbf2c.jpg resize: (1080, 1632) 1372324529 -5.470317284519709 treat image : temp/1752817348_2964034_1372324528_658fc1db35b41dea83cf59995acde411.jpg resize: (1080, 1632) 1372324528 -5.488131404721598 treat image : temp/1752817348_2964034_1372324527_eedebda0d6a99e17b82f5f05e30031f5.jpg resize: (1080, 1632) 1372324527 -5.427558302184675 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.014690160751342773 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.06588244438171387 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01593017578125 save missing photos in datou_result : time spend for datou_step_exec : 15.625053644180298 time spend to save output : 0.10166621208190918 total time spend for step 1 : 15.726719856262207 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.77user 3.72system 0:21.40elapsed 86%CPU (0avgtext+0avgdata 139120maxresident)k 144inputs+10600outputs (14major+270213minor)pagefaults 0swaps