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 : 1389287 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 : 2681>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1389287/ 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.6075756549835205 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 Sep 9 16:22: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/1757427748_1389287_1382782087_a15689df557608e2a1fe2029e65f7db5.jpg resize: (1080, 1632) 1382782087 -5.532009635846436 treat image : temp/1757427748_1389287_1382782084_773f522c2ec01807e42fa208297f3ee5.jpg resize: (1080, 1632) 1382782084 -5.101465520066293 treat image : temp/1757427748_1389287_1382782082_50a87eb2f8bf804dc57d6b45280d644e.jpg resize: (1080, 1632) 1382782082 -3.9166243804476455 treat image : temp/1757427748_1389287_1382782080_67dd5b5497c843929dd94b9c80338181.jpg resize: (1080, 1632) 1382782080 -4.97760454007108 treat image : temp/1757427748_1389287_1382782077_67ae87c4ab65aa330e11245ce18ae68a.jpg resize: (1080, 1632) 1382782077 -5.21672413000199 treat image : temp/1757427748_1389287_1382782075_34f7ac2b98906c3d4049f0937924317e.jpg resize: (1080, 1632) 1382782075 -5.6468109337173935 treat image : temp/1757427748_1389287_1382782047_2185df3d2b41b6b5b5c3bdfabfb8e61c.jpg resize: (1080, 1632) 1382782047 -5.668502415825794 treat image : temp/1757427748_1389287_1382781523_760ee31b03dfc627504ea7e5429839f7.jpg resize: (1080, 1632) 1382781523 0.07622042664236157 treat image : temp/1757427748_1389287_1382781519_30a67dd7caf5e1d80ffc51a53eed6603.jpg resize: (1080, 1632) 1382781519 -1.6462739669269102 treat image : temp/1757427748_1389287_1382781515_7d705266d2c0e1b3b4da9509922d16b5.jpg resize: (1080, 1632) 1382781515 -1.8644948571452973 treat image : temp/1757427748_1389287_1382781513_fed07feb26355c713db3773bfb1a749b.jpg resize: (1080, 1632) 1382781513 -4.947714954609584 treat image : temp/1757427748_1389287_1382781511_d1f2b735ec7343ddd67bec269085979a.jpg resize: (1080, 1632) 1382781511 -3.3386529550388953 treat image : temp/1757427748_1389287_1382781501_86205a905925b2776b04535cbc5c4034.jpg resize: (1080, 1632) 1382781501 -1.9110427660042155 treat image : temp/1757427748_1389287_1382781497_ecd297de2cff3d0659d4f0df62d25f40.jpg resize: (1080, 1632) 1382781497 -3.1726324645437534 treat image : temp/1757427748_1389287_1382781494_74ead16c28e075f9160011d21da229d0.jpg resize: (1080, 1632) 1382781494 -4.85262092266164 treat image : temp/1757427748_1389287_1382781491_304fb67d4db598dc9d78eea2a923485b.jpg resize: (1080, 1632) 1382781491 -5.309701596536578 treat image : temp/1757427748_1389287_1382781486_c7f088d237ae1d7f1a5e497340262926.jpg resize: (1080, 1632) 1382781486 -5.387182751692392 treat image : temp/1757427748_1389287_1382781476_c37e112ddeb5a4828a2eb4d469a7a9be.jpg resize: (1080, 1632) 1382781476 -3.1084019530046776 treat image : temp/1757427748_1389287_1382781322_3bddab4ce2eecf64c9ac69028e1dbe5b.jpg resize: (1080, 1632) 1382781322 -3.630792342321539 treat image : temp/1757427748_1389287_1382781303_dda39f7c20ae6cab22a469e6ea362679.jpg resize: (1080, 1632) 1382781303 -1.5414192666778044 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.03566598892211914 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.035889625549316406 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.039296627044677734 save missing photos in datou_result : time spend for datou_step_exec : 14.504469394683838 time spend to save output : 0.12540912628173828 total time spend for step 1 : 14.629878520965576 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.91user 2.98system 0:21.05elapsed 80%CPU (0avgtext+0avgdata 138256maxresident)k 0inputs+8752outputs (6major+259595minor)pagefaults 0swaps