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 : 2445491 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 : 1526>100 please execute split_portfolio.py -i 20423330 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2574214'] with mtr_portfolio_ids : ['20423330'] and first list_photo_ids : [] new path : /proc/2445491/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 2.0143444538116455 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 Tue Feb 11 12:07:32 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/1739272050_2445491_1336805189_d1adef40196ac3b7bce20802d932e749.jpg resize: (1080, 1632) 1336805189 -5.881659207533286 treat image : temp/1739272050_2445491_1336805172_bb4dde7bed8859ed9e854156c8a65309.jpg resize: (1080, 1632) 1336805172 -4.091653909284846 treat image : temp/1739272050_2445491_1336805126_4ff23cce62feaffc99f2a6b93596b6c0.jpg resize: (1080, 1632) 1336805126 -3.292782511168449 treat image : temp/1739272050_2445491_1336805122_459a5dcce03992cda4ed08bca12c80c4.jpg resize: (1080, 1632) 1336805122 -4.220481824346435 treat image : temp/1739272050_2445491_1336804300_e644e299de80e5d406362ce1446a5062.jpg resize: (1080, 1632) 1336804300 -5.98448572728448 treat image : temp/1739272050_2445491_1336804296_bb0e9d4efcddcf7e182d543e83c9ca47.jpg resize: (1080, 1632) 1336804296 -2.2429244871333145 treat image : temp/1739272050_2445491_1336804293_bdcd7250735041c868a4302c90e9b504.jpg resize: (1080, 1632) 1336804293 -2.976025685926644 treat image : temp/1739272050_2445491_1336804290_13fbedf65775ac62ea9ef08c4f89f160.jpg resize: (1080, 1632) 1336804290 -5.785034875681436 treat image : temp/1739272050_2445491_1336804278_0475c7e56e2eb46ccabfee5ddd9f55c8.jpg resize: (1080, 1632) 1336804278 -6.18069242694489 treat image : temp/1739272050_2445491_1336804273_acb9ebb6bddec103d8609d536983f27c.jpg resize: (1080, 1632) 1336804273 -5.473343529385212 treat image : temp/1739272050_2445491_1336804268_8450b764ddfd59d9ea6e5fadd0655a65.jpg resize: (1080, 1632) 1336804268 -6.018219201316761 treat image : temp/1739272050_2445491_1336804263_75edca42226eba5909bbd3296717d0f5.jpg resize: (1080, 1632) 1336804263 -5.022589718250653 treat image : temp/1739272050_2445491_1336804260_c603a8b5c320b6e72f44bd019552f3a7.jpg resize: (1080, 1632) 1336804260 -5.597300363738223 treat image : temp/1739272050_2445491_1336804249_b3f2745c0ee3be393b8d62e935c5c3fb.jpg resize: (1080, 1632) 1336804249 -2.212429678270741 treat image : temp/1739272050_2445491_1336804242_c763d6e2ce975c910f04382280e3952e.jpg resize: (1080, 1632) 1336804242 -5.821771853240498 treat image : temp/1739272050_2445491_1336804236_55cfbfc4dda921d197a20325a022b046.jpg resize: (1080, 1632) 1336804236 -5.701662466391116 treat image : temp/1739272050_2445491_1336804230_d9b524f393aecf5af965ded2723b7d71.jpg resize: (1080, 1632) 1336804230 -6.220808821350577 treat image : temp/1739272050_2445491_1336804225_bbce75e8a84e362c6b46d5f95543f877.jpg resize: (1080, 1632) 1336804225 -6.23073901934162 treat image : temp/1739272050_2445491_1336804220_650160e4ba33fa17c65df392ed25316a.jpg resize: (1080, 1632) 1336804220 -5.989721453361087 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 : 19 time used for this insertion : 0.012748479843139648 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.012057065963745117 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.01487112045288086 save missing photos in datou_result : time spend for datou_step_exec : 21.767508029937744 time spend to save output : 0.044437408447265625 total time spend for step 1 : 21.81194543838501 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 19 set_done_treatment 14.02user 10.39system 0:28.12elapsed 86%CPU (0avgtext+0avgdata 141696maxresident)k 152inputs+9960outputs (0major+259154minor)pagefaults 0swaps