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 : 606767 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 : 3557>100 please execute split_portfolio.py -i 21403117 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2667237'] with mtr_portfolio_ids : ['21403117'] and first list_photo_ids : [] new path : /proc/606767/ 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.1396944522857666 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 Fri Mar 14 17:22: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/1741969347_606767_1344214271_250a6c4b868dce6925bcc1a580ae3f10.jpg resize: (1080, 1632) 1344214271 -6.155905993423247 treat image : temp/1741969347_606767_1344214158_ef8a42bbb467bf6e496ec2a2edc83800.jpg resize: (1080, 1632) 1344214158 -5.845197920565899 treat image : temp/1741969347_606767_1344214008_6f3263fe2032944fd9a8c974d9be6116.jpg resize: (1080, 1632) 1344214008 -5.814870731988515 treat image : temp/1741969347_606767_1344213953_82e5266a868e77a09d3198cc86a5e172.jpg resize: (1080, 1632) 1344213953 -5.726964283958171 treat image : temp/1741969347_606767_1344213924_0c71bd45fdba55395a66219541847313.jpg resize: (1080, 1632) 1344213924 -5.507233557416117 treat image : temp/1741969347_606767_1344213898_16ab1264cf87196c1252e8119102fa46.jpg resize: (1080, 1632) 1344213898 -6.26277533296106 treat image : temp/1741969347_606767_1344213661_892068819cd4568aecec04f5b371c0fb.jpg resize: (1080, 1632) 1344213661 -2.8612231050339023 treat image : temp/1741969347_606767_1344213656_76f31d17043d6d503557feeb6e236b88.jpg resize: (1080, 1632) 1344213656 -4.254199537904506 treat image : temp/1741969347_606767_1344213652_e9ce7d97b066e2c679cacb040a10c769.jpg resize: (1080, 1632) 1344213652 -5.956046803172401 treat image : temp/1741969347_606767_1344213650_e09593e6ade158a4aad180c5628a8d3e.jpg resize: (1080, 1632) 1344213650 -6.296401728268613 treat image : temp/1741969347_606767_1344213646_a2048ecaae4833e15c48e9b480cafe6b.jpg resize: (1080, 1632) 1344213646 -5.35190507924862 treat image : temp/1741969347_606767_1344213632_6d5c79a9a82a2165be5d03c69ed60033.jpg resize: (1080, 1632) 1344213632 -6.356173290083334 treat image : temp/1741969347_606767_1344213571_6dd80125352c80cc5b8f882731c9bca7.jpg resize: (1080, 1632) 1344213571 -6.024279441073088 treat image : temp/1741969347_606767_1344213567_bb31947afba7e099a2bbb8fc1ec5c30d.jpg resize: (1080, 1632) 1344213567 -6.0036085162221475 treat image : temp/1741969347_606767_1344213563_09095486a8b6d63fc756dca1fea0b342.jpg resize: (1080, 1632) 1344213563 -5.8360510635186325 treat image : temp/1741969347_606767_1344213555_f214d03ec9c468e36fdf7ca9e77c3bd0.jpg resize: (1080, 1632) 1344213555 -1.6658821490115123 treat image : temp/1741969347_606767_1344213533_48fd7b077451bf9e0f960567d43c21a8.jpg resize: (1080, 1632) 1344213533 -4.1448312148192485 treat image : temp/1741969347_606767_1344213529_bcdfdae49206881b1107f2ba9080220e.jpg resize: (1080, 1632) 1344213529 -5.1225408981019855 treat image : temp/1741969347_606767_1344213527_a6c90cf96dbae7ec3100894935583098.jpg resize: (1080, 1632) 1344213527 -3.3872128013697083 treat image : temp/1741969347_606767_1344213523_2b8e1ed8d5a949ad90740d7a6ecd59ab.jpg resize: (1080, 1632) 1344213523 -4.5133955807301716 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.013447761535644531 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.018856048583984375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017882585525512695 save missing photos in datou_result : time spend for datou_step_exec : 19.8336763381958 time spend to save output : 0.0552976131439209 total time spend for step 1 : 19.88897395133972 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.37user 7.85system 0:24.52elapsed 90%CPU (0avgtext+0avgdata 140396maxresident)k 112inputs+10976outputs (5major+259918minor)pagefaults 0swaps