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 : 1679159 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 : 3183>100 please execute split_portfolio.py -i 20899997 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2621396'] with mtr_portfolio_ids : ['20899997'] and first list_photo_ids : [] new path : /proc/1679159/ 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.149108409881592 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 Feb 28 16:02:30 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/1740754948_1679159_1340168744_eb1b727e9e40cdbc464c94827091f672.jpg resize: (1080, 1632) 1340168744 -6.026441894813268 treat image : temp/1740754948_1679159_1340168709_0019c5e68671c114d8fd93dad65d0fd4.jpg resize: (1080, 1632) 1340168709 -5.166156525468442 treat image : temp/1740754948_1679159_1340168704_101221ea01c527a5275c6c724106d10c.jpg resize: (1080, 1632) 1340168704 -2.256561914113202 treat image : temp/1740754948_1679159_1340168664_13f3306a4f60894abf0dcceea387e230.jpg resize: (1080, 1632) 1340168664 -4.463767412409333 treat image : temp/1740754948_1679159_1340168655_95443194e18453505ca2d2fc6c36cdcf.jpg resize: (1080, 1632) 1340168655 -5.559099232999678 treat image : temp/1740754948_1679159_1340168652_558c4679e82446963a07ebf76329dac9.jpg resize: (1080, 1632) 1340168652 -5.518143989467487 treat image : temp/1740754948_1679159_1340168638_a41ebe5de7a59cb86bd867f8e59e1c93.jpg resize: (1080, 1632) 1340168638 -5.979634035941334 treat image : temp/1740754948_1679159_1340168634_9f3a8ec99447bb6e49da58752018fe61.jpg resize: (1080, 1632) 1340168634 -5.87534975204249 treat image : temp/1740754948_1679159_1340168630_7bbac3e52e3122df07b71960e3653021.jpg resize: (1080, 1632) 1340168630 -5.044460190519371 treat image : temp/1740754948_1679159_1340168592_04082d4b3e5d6c120ffcab19c54d2659.jpg resize: (1080, 1632) 1340168592 -6.201780315123429 treat image : temp/1740754948_1679159_1340168591_7004fefc51fa1a582a992524cd2f52da.jpg resize: (1080, 1632) 1340168591 -6.201780315123429 treat image : temp/1740754948_1679159_1340168588_a35f0dc6bd3d069784affa59b66473b3.jpg resize: (1080, 1632) 1340168588 -2.4837809355718203 treat image : temp/1740754948_1679159_1340168586_763ed360de2a0214dc4fd725106e0d9f.jpg resize: (1080, 1632) 1340168586 -2.4837809355718203 treat image : temp/1740754948_1679159_1340168582_9cfeb9634f397b50245be34e7b16dffc.jpg resize: (1080, 1632) 1340168582 -1.8764507582797347 treat image : temp/1740754948_1679159_1340168581_659b0826aae47f1b3abbee4ec3469ce4.jpg resize: (1080, 1632) 1340168581 -1.8764507582797347 treat image : temp/1740754948_1679159_1340168544_3d8668c66d187dea1a1eb780360918c8.jpg resize: (1080, 1632) 1340168544 -5.846898986268946 treat image : temp/1740754948_1679159_1340168538_237b79ec707465ccc11ba93565acbae5.jpg resize: (1080, 1632) 1340168538 -5.915616979426296 treat image : temp/1740754948_1679159_1340168531_39b0f2b9cac7756da6c0f86669fb3f35.jpg resize: (1080, 1632) 1340168531 -6.122885800806532 treat image : temp/1740754948_1679159_1340168525_479e31a312a62ad89fb78c7adfaed8f1.jpg resize: (1080, 1632) 1340168525 -5.6918986427155716 treat image : temp/1740754948_1679159_1340168516_a8c6102b1eee438c2e38246c8ece39f7.jpg resize: (1080, 1632) 1340168516 -6.013516150105313 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.01377105712890625 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.011951923370361328 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014901876449584961 save missing photos in datou_result : time spend for datou_step_exec : 20.186280727386475 time spend to save output : 0.046783447265625 total time spend for step 1 : 20.2330641746521 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.86user 7.23system 0:24.43elapsed 94%CPU (0avgtext+0avgdata 139740maxresident)k 12672inputs+10536outputs (55major+259576minor)pagefaults 0swaps