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 : 63251 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 : 7978>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/63251/ 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.1451432704925537 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 Sat Jul 5 15:32: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/1751722347_63251_1370800353_79238729904b5681e4436cfe935f3a55.jpg resize: (1080, 1632) 1370800353 -2.392879709038016 treat image : temp/1751722347_63251_1370800331_39859b08a2c1554de0103a3aa4aa3fa7.jpg resize: (1080, 1632) 1370800331 -2.3890565660448706 treat image : temp/1751722347_63251_1370800329_85ad4c4f771baef8fb81e6d1fa5bc311.jpg resize: (1080, 1632) 1370800329 -2.4609264940070337 treat image : temp/1751722347_63251_1370800327_f83dc40e5653bb5996a7a51b8d13fcc7.jpg resize: (1080, 1632) 1370800327 -2.449641854176334 treat image : temp/1751722347_63251_1370800322_b0bfc1b4b68459a3fd4c4b2e6ee5f726.jpg resize: (1080, 1632) 1370800322 -2.3988475373589195 treat image : temp/1751722347_63251_1370800318_2b29555e23738de1490ef7b36fb10daa.jpg resize: (1080, 1632) 1370800318 -2.37468102539108 treat image : temp/1751722347_63251_1370800313_524a9589152e1c69c88111695f855165.jpg resize: (1080, 1632) 1370800313 -2.383902529035948 treat image : temp/1751722347_63251_1370800312_40469ea0e0f2ba7528b875017705270b.jpg resize: (1080, 1632) 1370800312 -2.3454231738546616 treat image : temp/1751722347_63251_1370800310_c30f1638edb56e455d4d257ef0f14eab.jpg resize: (1080, 1632) 1370800310 -2.4314035311815307 treat image : temp/1751722347_63251_1370800309_b8d7b76d723aa49dfa8c3d7f061f6985.jpg resize: (1080, 1632) 1370800309 -2.4507280557047006 treat image : temp/1751722347_63251_1370800307_20d73320ac8711dce0f39e24d79d0a53.jpg resize: (1080, 1632) 1370800307 -2.446085485863656 treat image : temp/1751722347_63251_1370800303_71f0cc9034d59414cc579813e83f328f.jpg resize: (1080, 1632) 1370800303 -2.463260975621168 treat image : temp/1751722347_63251_1370800294_9050fe2bb4e76770fccaad76a6dd5351.jpg resize: (1080, 1632) 1370800294 -2.478058450751065 treat image : temp/1751722347_63251_1370800292_a4eb4c5d07a860e15e4789fd6bfa47ca.jpg resize: (1080, 1632) 1370800292 -2.343087028737119 treat image : temp/1751722347_63251_1370800289_5c73aa945d919bc7341659466dc97a03.jpg resize: (1080, 1632) 1370800289 -2.3343183938583993 treat image : temp/1751722347_63251_1370800288_6a48cd500328a0fb75f0d8176d79f22a.jpg resize: (1080, 1632) 1370800288 -2.3278440362069155 treat image : temp/1751722347_63251_1370800287_e9235d846fabc4e1c413cf1e63eeb297.jpg resize: (1080, 1632) 1370800287 -2.312351147240193 treat image : temp/1751722347_63251_1370800283_ca7ba5ee344c8d6da399a65b99638035.jpg resize: (1080, 1632) 1370800283 -1.3452882470905914 treat image : temp/1751722347_63251_1370800221_ce41646fe09778fe4215b3a410699db8.jpg resize: (1080, 1632) 1370800221 -5.095264193025776 treat image : temp/1751722347_63251_1370800218_407cf66ba2d14cfb58584ad62505cab3.jpg resize: (1080, 1632) 1370800218 -5.264374285494282 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.012725830078125 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.012081146240234375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016084671020507812 save missing photos in datou_result : time spend for datou_step_exec : 14.583855867385864 time spend to save output : 0.045052528381347656 total time spend for step 1 : 14.628908395767212 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.41user 3.61system 0:19.52elapsed 87%CPU (0avgtext+0avgdata 137708maxresident)k 0inputs+7008outputs (1major+250911minor)pagefaults 0swaps