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 : 3071220 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 : 2532>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/3071220/ 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 ! BFBFBFBFBFBFBFBFBFBFBFB can't download the photo : 1359824658 complete_path : /home/admin/workarea/git/Velours/python/temp/1747751547_3071220_1359824658_5c68c8f02d2b0029ae29f76fb178056f.jpg FBFBFBFBFBFBFBFBFwe have missing 1 photos in the step downloads : photo missing : [1359824658] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1359824658 length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 2.5321877002716064 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 16:32: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/1747751547_3071220_1359824805_7da6077189abfc6fe907cc1d83632d87.jpg resize: (1080, 1632) 1359824805 -5.596430421796863 treat image : temp/1747751547_3071220_1359824798_1873d3351df418e13cc852ce029e5aa3.jpg resize: (1080, 1632) 1359824798 -5.703345561558198 treat image : temp/1747751547_3071220_1359824779_a25f14eff7f3929097344c2276335d91.jpg resize: (1080, 1632) 1359824779 -5.529701202422608 treat image : temp/1747751547_3071220_1359824739_363b4c549111c3851f8c39e4c31b62db.jpg resize: (1080, 1632) 1359824739 -1.1184695714682704 treat image : temp/1747751547_3071220_1359824715_f291a8ce091fa079bbd04b48b7d7459b.jpg resize: (1080, 1632) 1359824715 -5.7923705813026425 treat image : temp/1747751547_3071220_1359824711_6bc0f10009e5ecbdb681d27e77ed07a7.jpg resize: (1080, 1632) 1359824711 -5.262864801230022 treat image : temp/1747751547_3071220_1359824706_ac7e35521a411df13ffb4b990e89f401.jpg resize: (1080, 1632) 1359824706 -5.753313631097538 treat image : temp/1747751547_3071220_1359824702_6a8a47a7b90a4f10f4e6f1d564b4a991.jpg resize: (1080, 1632) 1359824702 -5.843140897539615 treat image : temp/1747751547_3071220_1359824699_ffe8e197be829307be698863994347f0.jpg resize: (1080, 1632) 1359824699 -5.82937998702069 treat image : temp/1747751547_3071220_1359824695_505bbff650524655c806dac9efb2b2d9.jpg resize: (1080, 1632) 1359824695 -5.891809426874052 treat image : temp/1747751547_3071220_1359824664_5982de6f99d0b500f8ea33920aa0a4ec.jpg resize: (1080, 1632) 1359824664 -1.4250483666011944 treat image : temp/1747751547_3071220_1359824653_62c83edce1b87c9fa125514a061d0c2f.jpg resize: (1080, 1632) 1359824653 -3.780550888114867 treat image : temp/1747751547_3071220_1359824649_0cb84c7d30ed92fdf55e24a043ae727f.jpg resize: (1080, 1632) 1359824649 -3.4053162960831984 treat image : temp/1747751547_3071220_1359824358_0a357ba476564479c9ff342efe63144b.jpg resize: (1080, 1632) 1359824358 -5.734574540049302 treat image : temp/1747751547_3071220_1359824298_4dbd07ac4ba23d4caa4eb82a278b1221.jpg resize: (1080, 1632) 1359824298 20.0 treat image : temp/1747751547_3071220_1359824295_bb8c26e15f2023c91912b1797b3db4cc.jpg resize: (1080, 1632) 1359824295 -5.190036528800063 treat image : temp/1747751547_3071220_1359824291_be5f99b6a9e5ac3b973f551add623884.jpg resize: (1080, 1632) 1359824291 -5.23113487271767 treat image : temp/1747751547_3071220_1359824289_7e3453941607d1002f117e9fec804f62.jpg resize: (1080, 1632) 1359824289 -2.4312825898904196 treat image : temp/1747751547_3071220_1359824249_922c0f3021617f0bef31c618777f456a.jpg resize: (1080, 1632) 1359824249 8.795666113485066 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.013146162033081055 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.012538671493530273 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.01595020294189453 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 time used for this insertion : 0.01085972785949707 time spend for datou_step_exec : 18.65718913078308 time spend to save output : 0.06206107139587402 total time spend for step 1 : 18.719250202178955 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.61user 6.93system 0:24.41elapsed 88%CPU (0avgtext+0avgdata 139416maxresident)k 10288inputs+8928outputs (105major+249015minor)pagefaults 0swaps