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 : 1772805 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 : 4752>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/1772805/ 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.3065080642700195 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 Wed Jul 2 20:17:28 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/1751480246_1772805_1370066479_1e29d5493b789d30d99734911ad88e0d.jpg resize: (1080, 1632) 1370066479 -5.104516351268044 treat image : temp/1751480246_1772805_1370066478_45ec97088d1de0c85c95435a9615f51b.jpg resize: (1080, 1632) 1370066478 -5.104516351268044 treat image : temp/1751480246_1772805_1370066476_908b5a4dfb9a7036dc2951eac8abf54b.jpg resize: (1080, 1632) 1370066476 -4.828721790065713 treat image : temp/1751480246_1772805_1370066475_59604aa6fde8b0d0a696824388f0d16b.jpg resize: (1080, 1632) 1370066475 -4.828721790065713 treat image : temp/1751480246_1772805_1370066468_3cc318dc513995c2bbfeef9ffced41b8.jpg resize: (1080, 1632) 1370066468 -1.344932637584308 treat image : temp/1751480246_1772805_1370066467_5a22240ee25efb96dc58884378fd984d.jpg resize: (1080, 1632) 1370066467 -1.344932637584308 treat image : temp/1751480246_1772805_1370066456_15a145eccf1c29eedbb99ad7e886b54c.jpg resize: (1080, 1632) 1370066456 -2.4816190389806003 treat image : temp/1751480246_1772805_1370066455_82b7461faa5a1015af3a641c1971e766.jpg resize: (1080, 1632) 1370066455 -2.4816190389806003 treat image : temp/1751480246_1772805_1370066450_371764c7d4c6a09d1f4551d5874206b9.jpg resize: (1080, 1632) 1370066450 -1.6448435059948738 treat image : temp/1751480246_1772805_1370066449_3be2f4f68aceb74a8e853d62b76c708c.jpg resize: (1080, 1632) 1370066449 -1.6448435059948738 treat image : temp/1751480246_1772805_1370066427_3b32c8477de4ad975afc8196e6d1dec1.jpg resize: (1080, 1632) 1370066427 -2.457218922914189 treat image : temp/1751480246_1772805_1370066426_4e5b4f719ee10f3ea459251645d417db.jpg resize: (1080, 1632) 1370066426 -2.457218922914189 treat image : temp/1751480246_1772805_1370066215_3294f1581ce9c98b804e448f679de150.jpg resize: (1080, 1632) 1370066215 -5.034151085821786 treat image : temp/1751480246_1772805_1370066155_cd64730693bb965a4366ff4e5b098548.jpg resize: (1080, 1632) 1370066155 -5.082393259442819 treat image : temp/1751480246_1772805_1370066090_83e33b4e2c9c0b1fb835c0428e019b80.jpg resize: (1080, 1632) 1370066090 -4.734998495777002 treat image : temp/1751480246_1772805_1370066028_27e6bdb2069477855e30c66a0b80a2c8.jpg resize: (1080, 1632) 1370066028 -5.616350363677389 treat image : temp/1751480246_1772805_1370065965_bb6b19fb125ae0a91757f5f89ad86772.jpg resize: (1080, 1632) 1370065965 -5.612362552445179 treat image : temp/1751480246_1772805_1370065908_0c31ee0c91f1772df255dcc8a67718e0.jpg resize: (1080, 1632) 1370065908 -4.654332467112657 treat image : temp/1751480246_1772805_1370065831_b6f135c51d7dd4da667dd950bcb41920.jpg resize: (1080, 1632) 1370065831 -3.501380740558022 treat image : temp/1751480246_1772805_1370065797_9ffa1d6a11826cfb77d1c1e464777c35.jpg resize: (1080, 1632) 1370065797 -5.497256157936966 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.011816024780273438 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.012855291366577148 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017505168914794922 save missing photos in datou_result : time spend for datou_step_exec : 16.32873272895813 time spend to save output : 0.04733109474182129 total time spend for step 1 : 16.37606382369995 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.57user 4.43system 0:20.20elapsed 94%CPU (0avgtext+0avgdata 139356maxresident)k 1912inputs+8696outputs (14major+259516minor)pagefaults 0swaps