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 : 22290 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 : 5916>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/22290/ 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.2188057899475098 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 Jul 9 22:52: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/1752094347_22290_1371440845_8521d046e12a2a10b114917e6e616d2d.jpg resize: (1080, 1632) 1371440845 -4.768198711413992 treat image : temp/1752094347_22290_1371440759_520b07f24a9a4098371a18dbd1d73598.jpg resize: (1080, 1632) 1371440759 -4.739745531883319 treat image : temp/1752094347_22290_1371440667_a78bbab750e1b2cbe9dd2984418f705d.jpg resize: (1080, 1632) 1371440667 -3.7382839161701034 treat image : temp/1752094347_22290_1371440584_b811cf446350586127e7b42fd9ad3b6a.jpg resize: (1080, 1632) 1371440584 -6.158305606579829 treat image : temp/1752094347_22290_1371440582_413c17aa62b44e4ad4cc3f6dc076b125.jpg resize: (1080, 1632) 1371440582 -5.96870679739755 treat image : temp/1752094347_22290_1371440581_09d39f3c2087753c60e3af175920c2c4.jpg resize: (1080, 1632) 1371440581 -4.647596044978514 treat image : temp/1752094347_22290_1371440580_e6738d226c0f9ef7fbf2d0d96833ead2.jpg resize: (1080, 1632) 1371440580 -4.6435373280107735 treat image : temp/1752094347_22290_1371440578_ee552e3caa9753affcd333737b38a989.jpg resize: (1080, 1632) 1371440578 -3.0459775670682885 treat image : temp/1752094347_22290_1371440577_e832567a59aa36bdf38d392e2cb01aac.jpg resize: (1080, 1632) 1371440577 -4.2591051756212295 treat image : temp/1752094347_22290_1371440576_3976a97a74d003d54ba942660930b051.jpg resize: (1080, 1632) 1371440576 -5.597898696302137 treat image : temp/1752094347_22290_1371440575_d9c6acfb5d6442e836bbe5a6693cf506.jpg resize: (1080, 1632) 1371440575 -6.08377091254175 treat image : temp/1752094347_22290_1371440573_2d47f18a27bcb0f1bb1c33219d8dcca1.jpg resize: (1080, 1632) 1371440573 -6.0939888531043 treat image : temp/1752094347_22290_1371440569_da1cb3626cd3685aac6adf02a22d7ef8.jpg resize: (1080, 1632) 1371440569 -2.860078294047366 treat image : temp/1752094347_22290_1371440567_6504da52a1fc151158dfc8ec6f1aa2f3.jpg resize: (1080, 1632) 1371440567 -2.8950241883400905 treat image : temp/1752094347_22290_1371440566_5f3390917653c917c0d9f3504bb8990f.jpg resize: (1080, 1632) 1371440566 -1.769610917395319 treat image : temp/1752094347_22290_1371440565_1cb100131f1a9d5ca89200409e50fc5f.jpg resize: (1080, 1632) 1371440565 -4.472149039596263 treat image : temp/1752094347_22290_1371440564_19b5b54568567dfbba40ae86b69448bb.jpg resize: (1080, 1632) 1371440564 -5.606336958954902 treat image : temp/1752094347_22290_1371440563_634304868fdd6ed5a14e2a64e86684cb.jpg resize: (1080, 1632) 1371440563 -3.784923440752182 treat image : temp/1752094347_22290_1371440378_95659fa85a0ddab2f01a8ad4c4dc1c0d.jpg resize: (1080, 1632) 1371440378 -3.6845635506395573 treat image : temp/1752094347_22290_1371440374_439948332d75db174b40b51ab4abea16.jpg resize: (1080, 1632) 1371440374 -5.764094628882399 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.012542963027954102 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.011921882629394531 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015148639678955078 save missing photos in datou_result : time spend for datou_step_exec : 14.800430297851562 time spend to save output : 0.04510331153869629 total time spend for step 1 : 14.845533609390259 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.52user 3.71system 0:19.37elapsed 89%CPU (0avgtext+0avgdata 139908maxresident)k 40inputs+9696outputs (15major+228906minor)pagefaults 0swaps