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 : 860098 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 : 7806>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/860098/ 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.442183256149292 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 Thu Jul 10 06:12: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/1752120747_860098_1371479103_7612158648d2dbfc93e120fef608d9fd.jpg resize: (1080, 1632) 1371479103 -5.61401872372497 treat image : temp/1752120747_860098_1371479101_eff43e17a1d7a63a09073f9ef7e1856b.jpg resize: (1080, 1632) 1371479101 -5.800151054036715 treat image : temp/1752120747_860098_1371479092_c3a042dce129055cba4b63997f105d76.jpg resize: (1080, 1632) 1371479092 -5.755562574485231 treat image : temp/1752120747_860098_1371479086_d834f84b146320ebe37a620543767c20.jpg resize: (1080, 1632) 1371479086 -1.8901818847366947 treat image : temp/1752120747_860098_1371479084_67f08fd1e781fedee663b23552be18ac.jpg resize: (1080, 1632) 1371479084 -2.0720577272145904 treat image : temp/1752120747_860098_1371479083_d4c377eddced1a7fa8c80eb20de19d73.jpg resize: (1080, 1632) 1371479083 -3.2694205105438265 treat image : temp/1752120747_860098_1371479068_40dae170333d19bbc612a1ae31510211.jpg resize: (1080, 1632) 1371479068 -2.3285042217158933 treat image : temp/1752120747_860098_1371479067_30bca74d869526a580107becd1378d55.jpg resize: (1080, 1632) 1371479067 -2.5122901858458238 treat image : temp/1752120747_860098_1371479065_26c9d86f322a3d3262fc6397fc5213bb.jpg resize: (1080, 1632) 1371479065 -5.648053190474719 treat image : temp/1752120747_860098_1371479063_f9a8c45c2cd7fd6b4f2f4df5fed9e084.jpg resize: (1080, 1632) 1371479063 -5.683908684089261 treat image : temp/1752120747_860098_1371479043_3398e993f1cabcbb5be1a9ba14d1e85f.jpg resize: (1080, 1632) 1371479043 -5.9898028199866165 treat image : temp/1752120747_860098_1371479026_cfd311569e9c18e0e179593d0a47b2ca.jpg resize: (1080, 1632) 1371479026 -5.811043322528234 treat image : temp/1752120747_860098_1371478985_9b38bb0d928248157e1eaa4a290b9435.jpg resize: (1080, 1632) 1371478985 -5.655403200253834 treat image : temp/1752120747_860098_1371478983_6b98f3ffe2c5128f48d02504643eb38f.jpg resize: (1080, 1632) 1371478983 -4.949003031909305 treat image : temp/1752120747_860098_1371478981_fe401a86333ca747f2823d1e99ecfc01.jpg resize: (1080, 1632) 1371478981 -5.154114701981377 treat image : temp/1752120747_860098_1371478980_1f7b8e8cb4dd1236253d794122464453.jpg resize: (1080, 1632) 1371478980 -3.6347834615147008 treat image : temp/1752120747_860098_1371478979_0f30a3e1ba0e8c1bcef6f62c670ac7b4.jpg resize: (1080, 1632) 1371478979 -1.3116659892986335 treat image : temp/1752120747_860098_1371478978_848c5017417465a775c18643654499fa.jpg resize: (1080, 1632) 1371478978 -3.071455147573242 treat image : temp/1752120747_860098_1371478949_43c7ebc65b0876fbf591192e3de3a29a.jpg resize: (1080, 1632) 1371478949 -3.045758832124376 treat image : temp/1752120747_860098_1371478946_4abfccab12517faffb425f107f3755d2.jpg resize: (1080, 1632) 1371478946 -3.229173433743307 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.015681743621826172 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.17486023902893066 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0179595947265625 save missing photos in datou_result : time spend for datou_step_exec : 14.274864435195923 time spend to save output : 0.2134702205657959 total time spend for step 1 : 14.488334655761719 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.89user 3.26system 0:18.90elapsed 90%CPU (0avgtext+0avgdata 140352maxresident)k 0inputs+9088outputs (0major+254191minor)pagefaults 0swaps