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 : 621804 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 : 1445>100 please execute split_portfolio.py -i 25895674 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3506765'] with mtr_portfolio_ids : ['25895674'] and first list_photo_ids : [] new path : /proc/621804/ 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.2655158042907715 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 Tue Aug 12 10:52:29 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/1754988747_621804_1376579496_3d964eb87bf96db25f7bdf35e29aafc1.jpg resize: (1080, 1632) 1376579496 -3.791409375255255 treat image : temp/1754988747_621804_1376579494_0a624cabfb5fdb38123591a4fd86d603.jpg resize: (1080, 1632) 1376579494 -1.3102596784443272 treat image : temp/1754988747_621804_1376579473_4234ddb3d1d980561e34dfd955c4fa3f.jpg resize: (1080, 1632) 1376579473 -1.329043856576682 treat image : temp/1754988747_621804_1376579454_5a5cd4cb8f94a957120550bc85dd8c39.jpg resize: (1080, 1632) 1376579454 -4.9838110463067915 treat image : temp/1754988747_621804_1376579398_f7e7f89354e8dc799b0beef31459d1d4.jpg resize: (1080, 1632) 1376579398 -6.218138737028437 treat image : temp/1754988747_621804_1376579393_8c9b0763ace8f1f20fc93e6f54e4fde0.jpg resize: (1080, 1632) 1376579393 -5.331389014247128 treat image : temp/1754988747_621804_1376579387_3358a0bd0fafdbf669e4a2cdd86f4820.jpg resize: (1080, 1632) 1376579387 -5.153732928972876 treat image : temp/1754988747_621804_1376579378_ac8230302e23e1042d6085d8697eda19.jpg resize: (1080, 1632) 1376579378 -5.532061249509322 treat image : temp/1754988747_621804_1376579357_1a70e227073693ff510ab9cce922a498.jpg resize: (1080, 1632) 1376579357 -5.398434897346081 treat image : temp/1754988747_621804_1376579339_6156cd53ffa5d0572ee56f6c3c9bdfcb.jpg resize: (1080, 1632) 1376579339 -5.5380527812281395 treat image : temp/1754988747_621804_1376569478_65cbd004302875a8f609a5e9f3841e3c.jpg resize: (1080, 1632) 1376569478 -4.923189640702283 treat image : temp/1754988747_621804_1376569476_310b389191dc9a7f5ccbfc3e679fb36c.jpg resize: (1080, 1632) 1376569476 -5.003859866827496 treat image : temp/1754988747_621804_1376569473_af84af648ad82726be978f14a74a2f5a.jpg resize: (1080, 1632) 1376569473 -3.7059909523898757 treat image : temp/1754988747_621804_1376569425_58f30ab78c18a539cb6459beaed858e6.jpg resize: (1080, 1632) 1376569425 -4.581305460279157 treat image : temp/1754988747_621804_1376569420_a1feee48b141b2aab8ab5acddec4676c.jpg resize: (1080, 1632) 1376569420 -4.847572058596993 treat image : temp/1754988747_621804_1376569386_b50beb766910375be0e6f26eacd1daf7.jpg resize: (1080, 1632) 1376569386 -3.6477753800810904 treat image : temp/1754988747_621804_1376569384_e8d3e145db19912335835b6c156ef914.jpg resize: (1080, 1632) 1376569384 -2.6685542909455955 treat image : temp/1754988747_621804_1376569380_6829cb678233221f8a1c80406b3868de.jpg resize: (1080, 1632) 1376569380 -4.349141331986622 treat image : temp/1754988747_621804_1376569260_2a677ff1f1e5171d358bd8b3c9ee08c8.jpg resize: (1080, 1632) 1376569260 -4.832844396900107 treat image : temp/1754988747_621804_1376569237_0cf0c5f9c159f67efee84c35f82b7166.jpg resize: (1080, 1632) 1376569237 -4.458201727579733 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.012657642364501953 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.012911558151245117 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017974138259887695 save missing photos in datou_result : time spend for datou_step_exec : 16.317150831222534 time spend to save output : 0.04845404624938965 total time spend for step 1 : 16.365604877471924 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.02user 4.77system 0:21.90elapsed 85%CPU (0avgtext+0avgdata 138984maxresident)k 96inputs+8704outputs (11major+259927minor)pagefaults 0swaps