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 : 1250172 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 : 8653>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/1250172/ 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.1054179668426514 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 Sat Jul 12 03:12: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/1752282748_1250172_1371784987_0773c9eab3b3357198180cd2800fabba.jpg resize: (1080, 1632) 1371784987 -2.8401303242680607 treat image : temp/1752282748_1250172_1371784985_78e0373753cb8ff9550e38296a8ee05f.jpg resize: (1080, 1632) 1371784985 -2.8563319240103024 treat image : temp/1752282748_1250172_1371784982_8ec4a55079b01a187ff2d6633f12b8fb.jpg resize: (1080, 1632) 1371784982 -2.858583005159426 treat image : temp/1752282748_1250172_1371784979_1a5ad35d95e83cfd47002907c44c5e97.jpg resize: (1080, 1632) 1371784979 -2.8709209152520003 treat image : temp/1752282748_1250172_1371784975_fcca50353abf9bc4a6f024f0049954e7.jpg resize: (1080, 1632) 1371784975 -2.888523681081171 treat image : temp/1752282748_1250172_1371784970_fd88303151471554aa3fa10e083d4c35.jpg resize: (1080, 1632) 1371784970 -2.9119979445805826 treat image : temp/1752282748_1250172_1371784943_829ab765be6706adeaa32dea4b28e6ea.jpg resize: (1080, 1632) 1371784943 -2.8905224913682948 treat image : temp/1752282748_1250172_1371784940_d424bd522e11d0a290dc245258b4dc2a.jpg resize: (1080, 1632) 1371784940 -2.8898581517649746 treat image : temp/1752282748_1250172_1371784936_7e7d1bf765c4d4f260ca5185c5854629.jpg resize: (1080, 1632) 1371784936 -2.8467176607464917 treat image : temp/1752282748_1250172_1371784933_37adc81d3209cf6d76d2f4f72059c690.jpg resize: (1080, 1632) 1371784933 -2.8775982861371476 treat image : temp/1752282748_1250172_1371784930_04f119b0ddb51196cf8c40eeee661ea4.jpg resize: (1080, 1632) 1371784930 -2.8673845583659188 treat image : temp/1752282748_1250172_1371784926_f739784dd1b3b61e2d4b73f478dfa0a4.jpg resize: (1080, 1632) 1371784926 -2.8849659574546913 treat image : temp/1752282748_1250172_1371784872_200d056b8a2647b250a0587c4ca2431b.jpg resize: (1080, 1632) 1371784872 -2.8309024939273546 treat image : temp/1752282748_1250172_1371784868_9f35fb40147cd2056d552b9d2e4b98ba.jpg resize: (1080, 1632) 1371784868 -2.841534986752656 treat image : temp/1752282748_1250172_1371784865_b5299197e4b5a8284e1d1f3b75ace1ce.jpg resize: (1080, 1632) 1371784865 -2.8476988446732436 treat image : temp/1752282748_1250172_1371784864_4e1692daf8eeb60df67379df6a3b6eec.jpg resize: (1080, 1632) 1371784864 -2.8527305606792974 treat image : temp/1752282748_1250172_1371784862_40732bb3e584211ad86d149c0d0b2e19.jpg resize: (1080, 1632) 1371784862 -2.8658855449666243 treat image : temp/1752282748_1250172_1371784861_565523caa405ce44b0cac3164d49a31f.jpg resize: (1080, 1632) 1371784861 -2.8517025273337206 treat image : temp/1752282748_1250172_1371784813_637177590bda3988d05ed33d0c1f54b3.jpg resize: (1080, 1632) 1371784813 -2.851987927496903 treat image : temp/1752282748_1250172_1371784805_59b5e1677350d63ff0a9da6ac1b2632c.jpg resize: (1080, 1632) 1371784805 -2.8606175799047966 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.014641046524047852 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.014001846313476562 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018229246139526367 save missing photos in datou_result : time spend for datou_step_exec : 15.162276268005371 time spend to save output : 0.051657676696777344 total time spend for step 1 : 15.213933944702148 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.11user 3.69system 0:19.67elapsed 90%CPU (0avgtext+0avgdata 139404maxresident)k 32inputs+7216outputs (16major+256703minor)pagefaults 0swaps