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 : 644380 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 : 2868>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/644380/ 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.1368260383605957 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 10:57: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/1742637447_644380_1346386438_7cbb4b9bf41d4baf4c2171dffc73f28b.jpg resize: (1080, 1632) 1346386438 -5.990454501663156 treat image : temp/1742637447_644380_1346386436_639416c55dccd0779fe0af5c16c9c161.jpg resize: (1080, 1632) 1346386436 -5.929634765613148 treat image : temp/1742637447_644380_1346386434_5b174d7ee3beb2eaa95fcdcaeb839ffd.jpg resize: (1080, 1632) 1346386434 -5.948621982755688 treat image : temp/1742637447_644380_1346386432_6946bc1a53d1900b175654397409b4ee.jpg resize: (1080, 1632) 1346386432 -5.9383114128529435 treat image : temp/1742637447_644380_1346386429_311c67d87eeb5416076710e305f16759.jpg resize: (1080, 1632) 1346386429 -6.125927151222137 treat image : temp/1742637447_644380_1346386425_99db9537c7afd815eff90f14d7906cbd.jpg resize: (1080, 1632) 1346386425 -6.061774933419693 treat image : temp/1742637447_644380_1346386184_d86494a949123ec9db347de614b4a4b3.jpg resize: (1080, 1632) 1346386184 -3.4240506241011053 treat image : temp/1742637447_644380_1346386181_71da5b658123e1aa6505eb208bae945b.jpg resize: (1080, 1632) 1346386181 -3.4240506241011053 treat image : temp/1742637447_644380_1346386179_871bf8ac2c544cbf3d788ad3169d63e2.jpg resize: (1080, 1632) 1346386179 -4.882079627954144 treat image : temp/1742637447_644380_1346386176_bbb97faf1c25a23a80145747dbdf92de.jpg resize: (1080, 1632) 1346386176 -4.882079627954144 treat image : temp/1742637447_644380_1346386174_f2117db2cc1eb0c502ae490a8e4fba04.jpg resize: (1080, 1632) 1346386174 -6.2518667717472285 treat image : temp/1742637447_644380_1346386172_3f3d80049679d5548ee5387122d3d044.jpg resize: (1080, 1632) 1346386172 -6.2518667717472285 treat image : temp/1742637447_644380_1346386170_1ec9a2751ad6fe2379093d086e2ddf25.jpg resize: (1080, 1632) 1346386170 -6.259342200247221 treat image : temp/1742637447_644380_1346386168_d455af4eee9a13583153472ebfc22c3b.jpg resize: (1080, 1632) 1346386168 -6.259342200247221 treat image : temp/1742637447_644380_1346386166_b86ddab342324bdbb1b12d0ee9c3745c.jpg resize: (1080, 1632) 1346386166 -6.342026010705119 treat image : temp/1742637447_644380_1346386165_562f37a3e488206c36696cb2333399cc.jpg resize: (1080, 1632) 1346386165 -6.342026010705119 treat image : temp/1742637447_644380_1346386161_e1409c26e7b9c433d54b03cee88557f2.jpg resize: (1080, 1632) 1346386161 -5.939573150989261 treat image : temp/1742637447_644380_1346386158_0b0d02768d793b3f318d5ce5f2a2bf2f.jpg resize: (1080, 1632) 1346386158 -4.069303364584494 treat image : temp/1742637447_644380_1346386155_99cffe109e99f9720d577a871f61ee28.jpg resize: (1080, 1632) 1346386155 -6.286867890833145 treat image : temp/1742637447_644380_1346386143_e963f724bad80d19da57821382ee624d.jpg resize: (1080, 1632) 1346386143 -6.9432138274957635 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.014575958251953125 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.013845443725585938 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01473236083984375 save missing photos in datou_result : time spend for datou_step_exec : 15.426945924758911 time spend to save output : 0.04799461364746094 total time spend for step 1 : 15.474940538406372 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.09user 3.70system 0:20.14elapsed 88%CPU (0avgtext+0avgdata 140052maxresident)k 96inputs+11936outputs (13major+225041minor)pagefaults 0swaps