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 : 2730495 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 : 1637>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/2730495/ 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.4429638385772705 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 11 05:37:28 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/1752205045_2730495_1371550035_a75ffe0958dd5194887c0b5114be7cf7.jpg resize: (1080, 1632) 1371550035 -5.36410730419111 treat image : temp/1752205045_2730495_1371550027_3ad5b9b384e560bdbbc6e3d96ff3114f.jpg resize: (1080, 1632) 1371550027 -5.351980022561626 treat image : temp/1752205045_2730495_1371549994_b62de3aa97c8f2116f189b9a556599a8.jpg resize: (1080, 1632) 1371549994 -5.357097550398773 treat image : temp/1752205045_2730495_1371549690_0f7d0ef7f232ee10f956a21aa2ebe567.jpg resize: (1080, 1632) 1371549690 -5.366958968092653 treat image : temp/1752205045_2730495_1371549579_32ed10c0aec27f6bfee33d05b2e47e28.jpg resize: (1080, 1632) 1371549579 -5.362618709708926 treat image : temp/1752205045_2730495_1371549575_187ce43da01d4714ee427ad88168bb0b.jpg resize: (1080, 1632) 1371549575 -5.35418897565725 treat image : temp/1752205045_2730495_1371549306_bf85c0bebad35612db5e7524b27e6fb3.jpg resize: (1080, 1632) 1371549306 -5.359831943596368 treat image : temp/1752205045_2730495_1371549228_a8662cbd5fe1be81652979cdfae8589c.jpg resize: (1080, 1632) 1371549228 -5.359985949298776 treat image : temp/1752205045_2730495_1371549143_6f3e8d2455a876bd3d2a431dcdfb25d7.jpg resize: (1080, 1632) 1371549143 -5.362525250226485 treat image : temp/1752205045_2730495_1371548895_ff0240a57a930244676afd2627d4c3a9.jpg resize: (1080, 1632) 1371548895 -5.353161631289258 treat image : temp/1752205045_2730495_1371548794_3e8b41a10a1fdcec01857708215b64b8.jpg resize: (1080, 1632) 1371548794 -5.354276374069686 treat image : temp/1752205045_2730495_1371548730_b7e1dce85b56b0b9f09ed938fada84d0.jpg resize: (1080, 1632) 1371548730 -5.361070248249559 treat image : temp/1752205045_2730495_1371548496_e7c35e2e287e5ea71d861503e8c262d7.jpg resize: (1080, 1632) 1371548496 -5.345048149140592 treat image : temp/1752205045_2730495_1371548347_55bd3a9266963bc39558616730cd939d.jpg resize: (1080, 1632) 1371548347 -5.352596126538858 treat image : temp/1752205045_2730495_1371548346_ba735ce4568fd31fea48abf6504d3902.jpg resize: (1080, 1632) 1371548346 -5.352740745023686 treat image : temp/1752205045_2730495_1371548105_e9eaae3b5172ad63796ff8976f901d7b.jpg resize: (1080, 1632) 1371548105 -5.348855485471588 treat image : temp/1752205045_2730495_1371548023_0927fee8ed320fb3fee21ff09d9a3c86.jpg resize: (1080, 1632) 1371548023 -5.356622816374856 treat image : temp/1752205045_2730495_1371548014_fff11293e7b59c5632e79f3ff2c79dd1.jpg resize: (1080, 1632) 1371548014 -5.354894308759945 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.01181483268737793 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.015829086303710938 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.026895761489868164 save missing photos in datou_result : time spend for datou_step_exec : 13.94636845588684 time spend to save output : 0.059417009353637695 total time spend for step 1 : 14.005785465240479 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 12.52user 3.75system 0:17.85elapsed 91%CPU (0avgtext+0avgdata 139812maxresident)k 176inputs+9376outputs (3major+235467minor)pagefaults 0swaps