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 : 1968492 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 : 1732>100 please execute split_portfolio.py -i 20820380 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2614192'] with mtr_portfolio_ids : ['20820380'] and first list_photo_ids : [] new path : /proc/1968492/ 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.156982183456421 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 Feb 26 11:52: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/1740567147_1968492_1339713073_6aecf59f6aba930f3152ed02f4a35084.jpg resize: (1080, 1632) 1339713073 -1.155370066722855 treat image : temp/1740567147_1968492_1339713067_1c2b0e8baa4bf93a2e1e6545fd6c24ed.jpg resize: (1080, 1632) 1339713067 -3.0109461732841796 treat image : temp/1740567147_1968492_1339713062_6a31d737abdda2f047dfc9527d5c4b7f.jpg resize: (1080, 1632) 1339713062 -6.122342393089834 treat image : temp/1740567147_1968492_1339713057_26e2de0c0b4db6d0ab29eebec142717e.jpg resize: (1080, 1632) 1339713057 -5.561297365277417 treat image : temp/1740567147_1968492_1339713020_e41149800c5219652e65c3a47b435777.jpg resize: (1080, 1632) 1339713020 -3.4657325531230705 treat image : temp/1740567147_1968492_1339713017_d141ce51e325a1aac402bacf5981388b.jpg resize: (1080, 1632) 1339713017 -5.545236492578104 treat image : temp/1740567147_1968492_1339713013_799a74b16ea7aed758972647f4e9fa05.jpg resize: (1080, 1632) 1339713013 -6.4303623555112495 treat image : temp/1740567147_1968492_1339713009_18f389bd4ce5b77d3b44f8ddec7eb34b.jpg resize: (1080, 1632) 1339713009 -6.224447868582188 treat image : temp/1740567147_1968492_1339713003_b9d6388219ef7752a4c7fd92f4d055f6.jpg resize: (1080, 1632) 1339713003 -4.02843007998093 treat image : temp/1740567147_1968492_1339712946_25a25641bd62603228ab5e541129115d.jpg resize: (1080, 1632) 1339712946 -3.9067723495865905 treat image : temp/1740567147_1968492_1339712815_fb8d3191a3250f68a6a68852b6e0332c.jpg resize: (1080, 1632) 1339712815 -0.9444133224789208 treat image : temp/1740567147_1968492_1339712799_25ee54e328bd1da59e4199172adf1ad1.jpg resize: (1080, 1632) 1339712799 -2.4872724818755456 treat image : temp/1740567147_1968492_1339712792_586c25a0bb1e06c8a781fa810f0fb8b3.jpg resize: (1080, 1632) 1339712792 -3.7686066416016426 treat image : temp/1740567147_1968492_1339712786_88a8ff01c0bd6c720424f59e7434d8ac.jpg resize: (1080, 1632) 1339712786 -5.467211061647437 treat image : temp/1740567147_1968492_1339712781_437f11eaca55c63e65d044a8e61217ab.jpg resize: (1080, 1632) 1339712781 -4.308385641650766 treat image : temp/1740567147_1968492_1339712584_8a3c6a3e41c0a3a6c49ab037a18cc845.jpg resize: (1080, 1632) 1339712584 -6.259669357450272 treat image : temp/1740567147_1968492_1339712578_a00ce0a2356e647defe4232b449d1065.jpg resize: (1080, 1632) 1339712578 -5.982917805922522 treat image : temp/1740567147_1968492_1339712573_82748d05003c3c870134378556230a31.jpg resize: (1080, 1632) 1339712573 -5.527613552776164 treat image : temp/1740567147_1968492_1339712568_8e374bf1fbd531833167911e58b36852.jpg resize: (1080, 1632) 1339712568 -5.572905388109322 treat image : temp/1740567147_1968492_1339712559_b62ee99bf709f31f11aa02ecfff07ca2.jpg resize: (1080, 1632) 1339712559 -4.457629605398419 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.013303041458129883 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.012845039367675781 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014788627624511719 save missing photos in datou_result : time spend for datou_step_exec : 18.265011310577393 time spend to save output : 0.05831551551818848 total time spend for step 1 : 18.32332682609558 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.96user 5.66system 0:23.49elapsed 92%CPU (0avgtext+0avgdata 138328maxresident)k 18656inputs+10208outputs (125major+253534minor)pagefaults 0swaps