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 : 3953980 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 : 2992>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/3953980/ 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.550513744354248 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 Thu Jul 17 09:02: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/1752735746_3953980_1372358225_69ba78a2cc054b0ed02719afa2ec719a.jpg resize: (1080, 1632) 1372358225 -4.6724818423724725 treat image : temp/1752735746_3953980_1372358170_c111c3db21fc98dd103682e38ef9db76.jpg resize: (1080, 1632) 1372358170 -4.6163913876825795 treat image : temp/1752735746_3953980_1372358118_2688d9dbd7595f750c5a9779d58fa51d.jpg resize: (1080, 1632) 1372358118 -4.586047276139316 treat image : temp/1752735746_3953980_1372358062_79f3cc027e908ac717e36df7c47299b3.jpg resize: (1080, 1632) 1372358062 -4.554376651150682 treat image : temp/1752735746_3953980_1372358007_3a3f81d7463c04f3b51a2937c5f303db.jpg resize: (1080, 1632) 1372358007 -4.542072699205744 treat image : temp/1752735746_3953980_1372351372_226259a8324c215fb00230a18e046686.jpg resize: (1080, 1632) 1372351372 -5.190109126328698 treat image : temp/1752735746_3953980_1372351369_c169dae18bb30162928a5b356ccb2a32.jpg resize: (1080, 1632) 1372351369 -5.189607723211413 treat image : temp/1752735746_3953980_1372351338_7ff2bf44f10f0d1f04634290f7130e64.jpg resize: (1080, 1632) 1372351338 -3.937720784577537 treat image : temp/1752735746_3953980_1372351335_7fbb49ce172f0aec871550e284fb3372.jpg resize: (1080, 1632) 1372351335 -4.820228657906318 treat image : temp/1752735746_3953980_1372351334_b1939922df1b7c086ee455528ea9d306.jpg resize: (1080, 1632) 1372351334 -5.426655599939966 treat image : temp/1752735746_3953980_1372351332_fd28d68a121880c6ad34fe201ef43718.jpg resize: (1080, 1632) 1372351332 -5.432085744728225 treat image : temp/1752735746_3953980_1372351331_c3d898c96d0cf5af0a0254a14b5c95e2.jpg resize: (1080, 1632) 1372351331 -4.565849415093962 treat image : temp/1752735746_3953980_1372351329_1d3f2fb2be0bec308e4e0bf1bf17f5fd.jpg resize: (1080, 1632) 1372351329 -0.6236217234621226 treat image : temp/1752735746_3953980_1372351308_a7f72e2584e0655f664545d8b9d41141.jpg resize: (1080, 1632) 1372351308 -5.070162881712499 treat image : temp/1752735746_3953980_1372351306_e41e37e90361e2e2b74a0f8ad4521e53.jpg resize: (1080, 1632) 1372351306 -5.391388997289951 treat image : temp/1752735746_3953980_1372351304_f66083ec3b114de914c580751b11b621.jpg resize: (1080, 1632) 1372351304 -5.971802729902492 treat image : temp/1752735746_3953980_1372351302_ed113b2f0b08fc983c4dadb7a037b8fa.jpg resize: (1080, 1632) 1372351302 -5.952232005200589 treat image : temp/1752735746_3953980_1372351299_29c64ffc7ce094fda59385d939051e4a.jpg resize: (1080, 1632) 1372351299 -5.119135698371339 treat image : temp/1752735746_3953980_1372351297_4ca3b97f24f5520bd031fba8d8f8a00d.jpg resize: (1080, 1632) 1372351297 -5.102221773466378 treat image : temp/1752735746_3953980_1372351269_d202ef49775f1234bdc0e490b6f9dc36.jpg resize: (1080, 1632) 1372351269 -5.3045380533988835 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.012653350830078125 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.01206827163696289 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014829397201538086 save missing photos in datou_result : time spend for datou_step_exec : 14.539098978042603 time spend to save output : 0.04409313201904297 total time spend for step 1 : 14.583192110061646 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.83user 3.05system 0:19.40elapsed 86%CPU (0avgtext+0avgdata 138768maxresident)k 0inputs+9448outputs (4major+259096minor)pagefaults 0swaps