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 : 1751463 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 : 1385>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/1751463/ 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.1786611080169678 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 May 20 10:22: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/1747729348_1751463_1359791144_642f6b67d725ea30037251accc2a6773.jpg resize: (1080, 1632) 1359791144 -2.041878158177698 treat image : temp/1747729348_1751463_1359791142_02bc1457fd08592269cd6de3e6a7b5bd.jpg resize: (1080, 1632) 1359791142 -2.2276539888240863 treat image : temp/1747729348_1751463_1359791139_cd5d4cd63ec2e09b4ecfa1ddc041a15a.jpg resize: (1080, 1632) 1359791139 -4.700127769290264 treat image : temp/1747729348_1751463_1359791136_7518fc0359b5cf86529ccb81b30d5aae.jpg resize: (1080, 1632) 1359791136 -4.597898577588744 treat image : temp/1747729348_1751463_1359791110_051ec388409b4464855c6623b679d392.jpg resize: (1080, 1632) 1359791110 -6.0475876880434996 treat image : temp/1747729348_1751463_1359791083_9ab36997db9fc8efd49ee06c898199be.jpg resize: (1080, 1632) 1359791083 -5.166331043765863 treat image : temp/1747729348_1751463_1359791042_ae133106c504f5282d9f0fb3c93e9159.jpg resize: (1080, 1632) 1359791042 -5.551861715605477 treat image : temp/1747729348_1751463_1359791012_bf3e10f3d5b6f92dda2dea5288f6e6db.jpg resize: (1080, 1632) 1359791012 -4.805363602257537 treat image : temp/1747729348_1751463_1359790994_9c510e26bf21702ed6e0df14a76f6438.jpg resize: (1080, 1632) 1359790994 -3.339282768657024 treat image : temp/1747729348_1751463_1359790919_33e1f750443978a2ca8c9f771732bc39.jpg resize: (1080, 1632) 1359790919 -0.9298728621098509 treat image : temp/1747729348_1751463_1359790772_39e60c9e04a7a37faad17832c6d94918.jpg resize: (1080, 1632) 1359790772 -5.1693446019669045 treat image : temp/1747729348_1751463_1359790762_7f6011102285e6e750c27fcc56d644eb.jpg resize: (1080, 1632) 1359790762 -1.1711801945732894 treat image : temp/1747729348_1751463_1359790755_4d99935fe1dfe83285d2ee15858f61f8.jpg resize: (1080, 1632) 1359790755 -1.224716641243081 treat image : temp/1747729348_1751463_1359790736_770ebc75087dace9cb94ba78db6acbc8.jpg resize: (1080, 1632) 1359790736 -3.503253653058077 treat image : temp/1747729348_1751463_1359790218_41cd392b2ebdd6970f7614e20d27bf87.jpg resize: (1080, 1632) 1359790218 -2.689630299335283 treat image : temp/1747729348_1751463_1359790110_386c3aee22fffc3caaa0e3fa89dd3665.jpg resize: (1080, 1632) 1359790110 -3.837397944881767 treat image : temp/1747729348_1751463_1359789961_2eae3323eda6a070613b8998b1f61c67.jpg resize: (1080, 1632) 1359789961 -5.041891527081749 treat image : temp/1747729348_1751463_1359789805_72a1c1375ec19cc8079e2c1dc685b858.jpg resize: (1080, 1632) 1359789805 -5.125646896831305 treat image : temp/1747729348_1751463_1359789719_337780c703bf4aceb4a68d6096941829.jpg resize: (1080, 1632) 1359789719 -4.872072526659056 treat image : temp/1747729348_1751463_1359789691_d5e729388e1f82022f929ed38bc715b3.jpg resize: (1080, 1632) 1359789691 -3.928127472953372 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.013440132141113281 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.013962268829345703 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01587843894958496 save missing photos in datou_result : time spend for datou_step_exec : 19.650508880615234 time spend to save output : 0.04819679260253906 total time spend for step 1 : 19.698705673217773 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.42user 6.80system 0:25.64elapsed 86%CPU (0avgtext+0avgdata 138468maxresident)k 128inputs+8640outputs (5major+262501minor)pagefaults 0swaps