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 : 623668 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 : 9557>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/623668/ 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.212211847305298 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 23:07: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/1752268047_623668_1371723002_9f356bc976dd09f6137b40674f7f8775.jpg resize: (1080, 1632) 1371723002 -5.3462337692474735 treat image : temp/1752268047_623668_1371722973_d785966b286ee96f43985028dc8e140b.jpg resize: (1080, 1632) 1371722973 -5.34639164224685 treat image : temp/1752268047_623668_1371722916_f6cc0683272c98559338e4b67da67545.jpg resize: (1080, 1632) 1371722916 -5.338417653400056 treat image : temp/1752268047_623668_1371722863_639b8d6c8ce9d19e2463bd1072704e0a.jpg resize: (1080, 1632) 1371722863 -5.330641365315471 treat image : temp/1752268047_623668_1371722796_925dbd7dbc24e012e098d23e2c58c174.jpg resize: (1080, 1632) 1371722796 -5.32459851272066 treat image : temp/1752268047_623668_1371722714_a2ac0a9efaa5f3407dc8dfa0d9fb793b.jpg resize: (1080, 1632) 1371722714 -5.3248526294488725 treat image : temp/1752268047_623668_1371722500_14991de3311a8b2bc0ae22a6cd2442d4.jpg resize: (1080, 1632) 1371722500 -3.8613037709932265 treat image : temp/1752268047_623668_1371722430_e3108eeaca5633552e67a2d450be2ecf.jpg resize: (1080, 1632) 1371722430 -5.193214644785163 treat image : temp/1752268047_623668_1371722356_1d866ffbce0595c223609afdc434c572.jpg resize: (1080, 1632) 1371722356 -4.541052200648021 treat image : temp/1752268047_623668_1371722283_6c0b4741944ffce16b548f56dcd7be4c.jpg resize: (1080, 1632) 1371722283 -3.968210228102221 treat image : temp/1752268047_623668_1371722208_55e8084e4a9d5820e23a54ff49862b31.jpg resize: (1080, 1632) 1371722208 -4.3886543299822725 treat image : temp/1752268047_623668_1371722128_5b3bf6aed59615a8a34491aa7989a5b1.jpg resize: (1080, 1632) 1371722128 -4.857535936085988 treat image : temp/1752268047_623668_1371719976_c7951973dc666c9c93e6404005e4541c.jpg resize: (1080, 1632) 1371719976 -5.325078302475848 treat image : temp/1752268047_623668_1371719851_3646a05d0bd073f2f40f734e40c555a9.jpg resize: (1080, 1632) 1371719851 -5.316219058246056 treat image : temp/1752268047_623668_1371719753_5ede239de67b407181393d5d656067e6.jpg resize: (1080, 1632) 1371719753 -5.314490064927339 treat image : temp/1752268047_623668_1371719683_6381273da6e84965eb0334305c038546.jpg resize: (1080, 1632) 1371719683 -5.289843742088769 treat image : temp/1752268047_623668_1371719575_cbe73f0625e06c8bc44bb9bccd4dea70.jpg resize: (1080, 1632) 1371719575 -5.504609449009473 treat image : temp/1752268047_623668_1371719550_27350a92341a6f4f324338032cb4d8cc.jpg resize: (1080, 1632) 1371719550 -4.557470177269704 treat image : temp/1752268047_623668_1371719518_b47f286c261663b46df4b1835e5ac923.jpg resize: (1080, 1632) 1371719518 -5.24343894570339 treat image : temp/1752268047_623668_1371719471_282fad91201b7d23a282203d86ddd611.jpg resize: (1080, 1632) 1371719471 -5.167651165567289 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.020418167114257812 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.014940261840820312 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015035152435302734 save missing photos in datou_result : time spend for datou_step_exec : 18.15626096725464 time spend to save output : 0.05583906173706055 total time spend for step 1 : 18.2121000289917 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.89user 5.99system 0:22.02elapsed 94%CPU (0avgtext+0avgdata 138544maxresident)k 0inputs+9656outputs (18major+257503minor)pagefaults 0swaps