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 : 661099 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 : 2916>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/661099/ 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.013195753097534 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 Mar 22 11: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/1742637747_661099_1346389524_fe34464bfd8bca1a522a49566a8a58a9.jpg resize: (1080, 1632) 1346389524 -4.442089220937159 treat image : temp/1742637747_661099_1346389431_b74dd55becfc62eb1a6184e95f7bb844.jpg resize: (1080, 1632) 1346389431 -4.550962760400946 treat image : temp/1742637747_661099_1346389369_00649f220d0b008ccf8bc3478b31f02e.jpg resize: (1080, 1632) 1346389369 -5.79919440899704 treat image : temp/1742637747_661099_1346389328_3c7c4f98a4b1c551ecd02e3d007932c1.jpg resize: (1080, 1632) 1346389328 -5.309428677548305 treat image : temp/1742637747_661099_1346389294_1d1bcdc4b2a1baec6d07ab3da6da2011.jpg resize: (1080, 1632) 1346389294 -5.658546845950912 treat image : temp/1742637747_661099_1346389241_5fd7440801512e9322036faa817c04be.jpg resize: (1080, 1632) 1346389241 -5.625580774310814 treat image : temp/1742637747_661099_1346389153_d66a4c33b904d15956d884a2d4c91011.jpg resize: (1080, 1632) 1346389153 -5.748077415093867 treat image : temp/1742637747_661099_1346389137_1093ff20879d5ff7719983ca4596d045.jpg resize: (1080, 1632) 1346389137 -5.877173218929466 treat image : temp/1742637747_661099_1346389103_6bc5a97992eadc45228e33ea66b8145a.jpg resize: (1080, 1632) 1346389103 -5.488637294257216 treat image : temp/1742637747_661099_1346389049_22c61cd293c9210d39c0cbb6d4eefa4c.jpg resize: (1080, 1632) 1346389049 -5.533484577546278 treat image : temp/1742637747_661099_1346388993_7ac22feb61f0dc0f0466226c4197729f.jpg resize: (1080, 1632) 1346388993 -6.072106871542593 treat image : temp/1742637747_661099_1346388937_66a11b793ea0894356d8a267910931aa.jpg resize: (1080, 1632) 1346388937 -3.926090489684765 treat image : temp/1742637747_661099_1346388475_89292acbaca408d9dee7fd1da07b7156.jpg resize: (1080, 1632) 1346388475 -2.4609564218060207 treat image : temp/1742637747_661099_1346388401_249458334dc05ff759425fccf2e716b7.jpg resize: (1080, 1632) 1346388401 -3.3064773098009312 treat image : temp/1742637747_661099_1346388343_9f5d62b2d3620e632549a7cb1f012b05.jpg resize: (1080, 1632) 1346388343 -5.620221362652391 treat image : temp/1742637747_661099_1346388292_bbb76926735ba94b43a48acfa4ecbace.jpg resize: (1080, 1632) 1346388292 -6.236646733766863 treat image : temp/1742637747_661099_1346388239_732fcc5cb66a0a35c284c79369decd4f.jpg resize: (1080, 1632) 1346388239 -6.257159316825788 treat image : temp/1742637747_661099_1346388174_948d54e1598ba0c690376b0ae8979dc4.jpg resize: (1080, 1632) 1346388174 -5.930680626614822 treat image : temp/1742637747_661099_1346386703_ccab85a401bdafe588a8e2abb613aae2.jpg resize: (1080, 1632) 1346386703 -3.4575738131178784 treat image : temp/1742637747_661099_1346386675_edbec7b2edfd7240615201ecb51a72bc.jpg resize: (1080, 1632) 1346386675 -3.4575738131178784 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.013555049896240234 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.011981487274169922 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01525115966796875 save missing photos in datou_result : time spend for datou_step_exec : 18.745932579040527 time spend to save output : 0.046369314193725586 total time spend for step 1 : 18.792301893234253 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.85user 7.19system 0:23.79elapsed 88%CPU (0avgtext+0avgdata 139932maxresident)k 80inputs+10400outputs (11major+256152minor)pagefaults 0swaps