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 : 3112199 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 : 2028>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3112199/ 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.4630894660949707 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 May 21 15: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/1747833148_3112199_1360044088_3186df5f8574d5bd135bd98bafc7ee6c.jpg resize: (1080, 1632) 1360044088 -6.202676935694966 treat image : temp/1747833148_3112199_1360044084_30406c21a14148403fd85af8f7db07cc.jpg resize: (1080, 1632) 1360044084 -6.052310452166848 treat image : temp/1747833148_3112199_1360044079_e199ae72c35d4d5ac91094016c7b7dee.jpg resize: (1080, 1632) 1360044079 -5.710196799226844 treat image : temp/1747833148_3112199_1360044074_d856b29996ad4fdbbdf4e60539fb1c3e.jpg resize: (1080, 1632) 1360044074 -5.769300036307385 treat image : temp/1747833148_3112199_1360044069_b228801873398fd99aa9068d1b45b183.jpg resize: (1080, 1632) 1360044069 -4.0121049685333166 treat image : temp/1747833148_3112199_1360043981_5844bea32e7f5e556f226c68290adc8d.jpg resize: (1080, 1632) 1360043981 -6.086611128861102 treat image : temp/1747833148_3112199_1360043973_2f5898543018b6a14dc5d5f1fc0dbc1a.jpg resize: (1080, 1632) 1360043973 -6.273762538550501 treat image : temp/1747833148_3112199_1360043967_57d4608b7fbe2a5e09c11d8f472cb3b0.jpg resize: (1080, 1632) 1360043967 -3.455972363219979 treat image : temp/1747833148_3112199_1360043962_3d69b59623beb99cdc2bb69a3eee7e89.jpg resize: (1080, 1632) 1360043962 -4.736076381794585 treat image : temp/1747833148_3112199_1360043958_281e057be0cb0dd1bf2c344fd9249b04.jpg resize: (1080, 1632) 1360043958 -6.117059755196237 treat image : temp/1747833148_3112199_1360043950_ffeb433674ddb8dfefbacc8a68c5b072.jpg resize: (1080, 1632) 1360043950 -6.111998140067604 treat image : temp/1747833148_3112199_1360043916_10f78cd70f0506b6d729041431e6d3e2.jpg resize: (1080, 1632) 1360043916 -3.756306235106706 treat image : temp/1747833148_3112199_1360043912_f13e905da121b701a103339e5a7cc103.jpg resize: (1080, 1632) 1360043912 -1.3216350209816274 treat image : temp/1747833148_3112199_1360043908_39c8c7bbae75c77086754565219e8de7.jpg resize: (1080, 1632) 1360043908 -1.176322262355645 treat image : temp/1747833148_3112199_1360043885_cbc3c6e46228907d9b7f97927f4bcea8.jpg resize: (1080, 1632) 1360043885 -5.6276152749225945 treat image : temp/1747833148_3112199_1360043883_cd826e975215f70a5d7ec8618a211b3f.jpg resize: (1080, 1632) 1360043883 -5.478153086640804 treat image : temp/1747833148_3112199_1360043879_dcce997b778eda5610191af81ae76e50.jpg resize: (1080, 1632) 1360043879 -5.482149320367988 treat image : temp/1747833148_3112199_1360043874_1d3ce40c782948fa52d150c3b0d0b735.jpg resize: (1080, 1632) 1360043874 -5.998358901638092 treat image : temp/1747833148_3112199_1360043871_d274173d5dc9f51b3b4e949120ae828c.jpg resize: (1080, 1632) 1360043871 -6.038167025932145 treat image : temp/1747833148_3112199_1360043866_3ebb1582df900ceebc909f9e2db0deb6.jpg resize: (1080, 1632) 1360043866 -3.9656708400702745 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.011806726455688477 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 : 4.496239900588989 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013712644577026367 save missing photos in datou_result : time spend for datou_step_exec : 18.871591091156006 time spend to save output : 4.526627779006958 total time spend for step 1 : 23.398218870162964 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.22user 6.82system 0:28.37elapsed 77%CPU (0avgtext+0avgdata 138148maxresident)k 3408inputs+10688outputs (38major+261154minor)pagefaults 0swaps