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 : 3318203 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 : 8256>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/3318203/ 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.3345956802368164 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 5 06:57: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/1751691447_3318203_1370744274_909531baf67278f50c3cb1e6c2695b63.jpg resize: (1080, 1632) 1370744274 -4.713583936824959 treat image : temp/1751691447_3318203_1370744251_4b0fe068ffef428da8c26485565e85f8.jpg resize: (1080, 1632) 1370744251 -4.69969718848458 treat image : temp/1751691447_3318203_1370744248_58f7ffd69e1373a8f12a8d70db55d738.jpg resize: (1080, 1632) 1370744248 -4.268790800159961 treat image : temp/1751691447_3318203_1370744246_c36290daca738362ab6260d01c0b835b.jpg resize: (1080, 1632) 1370744246 -1.745705359599469 treat image : temp/1751691447_3318203_1370744244_b13bb1f780a6eadb90b48b66cd61e2c3.jpg resize: (1080, 1632) 1370744244 -3.1191914253186774 treat image : temp/1751691447_3318203_1370744241_5a4d1db3514c5cb55b01bb751d56ec0f.jpg resize: (1080, 1632) 1370744241 -3.1307273940839178 treat image : temp/1751691447_3318203_1370744152_1475e13bc6981eed88a934c689a9d440.jpg resize: (1080, 1632) 1370744152 -5.12608637621018 treat image : temp/1751691447_3318203_1370744151_74d1f5b087b14f9febf605fa4e6d8241.jpg resize: (1080, 1632) 1370744151 -5.12608637621018 treat image : temp/1751691447_3318203_1370744149_0ba761f961ad7bb3e4cffb18d2cc5d24.jpg resize: (1080, 1632) 1370744149 -3.6016450915624554 treat image : temp/1751691447_3318203_1370744148_884897fc8a444f8874158f57805a4857.jpg resize: (1080, 1632) 1370744148 -3.6016450915624554 treat image : temp/1751691447_3318203_1370744142_d4d19f9084da2442542acc5a9782127e.jpg resize: (1080, 1632) 1370744142 -5.341115302514565 treat image : temp/1751691447_3318203_1370744139_a98bd2e1cb99d6b3b4deb8e48ac99fab.jpg resize: (1080, 1632) 1370744139 -5.324529668236374 treat image : temp/1751691447_3318203_1370744136_10da7d18e478334201182a3e2a0a04db.jpg resize: (1080, 1632) 1370744136 -4.396560849368962 treat image : temp/1751691447_3318203_1370744125_8e6432c86403beb122cab83cd69d4aaf.jpg resize: (1080, 1632) 1370744125 -2.7635842246775026 treat image : temp/1751691447_3318203_1370744123_78e1bc4fe3dfa65e7b610bdfbbd7ecc6.jpg resize: (1080, 1632) 1370744123 -1.7764060305386937 treat image : temp/1751691447_3318203_1370744119_54357c9fbb0a006a3ac167c5bbcd7e3d.jpg resize: (1080, 1632) 1370744119 -3.019846768042974 treat image : temp/1751691447_3318203_1370719259_a3ea08aefc181cae458a468246f0d8b8.jpg resize: (1080, 1632) 1370719259 -3.924297651318855 treat image : temp/1751691447_3318203_1370719257_90b89dda8e09c59ae46e57285d33bcc4.jpg resize: (1080, 1632) 1370719257 -3.820338537177522 treat image : temp/1751691447_3318203_1370717684_200e6259082c41b65e886f49691ad685.jpg resize: (1080, 1632) 1370717684 -4.088061602188805 treat image : temp/1751691447_3318203_1370717614_373a7d3e11172e36e828b741dfe7e9ec.jpg resize: (1080, 1632) 1370717614 -4.14146396791081 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.017099618911743164 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.015732288360595703 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021503448486328125 save missing photos in datou_result : time spend for datou_step_exec : 16.524439334869385 time spend to save output : 0.05949139595031738 total time spend for step 1 : 16.583930730819702 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.59user 4.62system 0:21.87elapsed 87%CPU (0avgtext+0avgdata 136860maxresident)k 1360inputs+8144outputs (15major+258822minor)pagefaults 0swaps