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 : 3626439 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 : 4324>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/3626439/ 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.9865522384643555 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 3 17:52:32 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/1751557949_3626439_1370454522_46b56151171eefee31abe028500de9a8.jpg resize: (1080, 1632) 1370454522 -5.323419314349195 treat image : temp/1751557949_3626439_1370454518_d955817b4bb6d799819892ee96066a19.jpg resize: (1080, 1632) 1370454518 -5.324849799255774 treat image : temp/1751557949_3626439_1370454515_06f0ba32fb0b2cd5f0336f3ef34d7871.jpg resize: (1080, 1632) 1370454515 -5.316959650717631 treat image : temp/1751557949_3626439_1370454511_cfae1fc4c1e57aef7f73275f199855a7.jpg resize: (1080, 1632) 1370454511 -5.340633259880772 treat image : temp/1751557949_3626439_1370454507_2aab8974bfba8d552dc30c2ba8285c3c.jpg resize: (1080, 1632) 1370454507 -5.324649856400479 treat image : temp/1751557949_3626439_1370454505_e62deaae3c72ae8807017624c5108904.jpg resize: (1080, 1632) 1370454505 -5.326576258491829 treat image : temp/1751557949_3626439_1370454498_c22fb03617b693e9bc1393a565ec5849.jpg resize: (1080, 1632) 1370454498 -6.115795067383142 treat image : temp/1751557949_3626439_1370454493_8eebbb36b88bf5d52624ad221a1bb838.jpg resize: (1080, 1632) 1370454493 -4.833217361824869 treat image : temp/1751557949_3626439_1370454488_3640be6f51b3de5b8ddc23bf092e7762.jpg resize: (1080, 1632) 1370454488 -6.278987583820103 treat image : temp/1751557949_3626439_1370454484_b010da9b238a253d2ea78819e949f5dc.jpg resize: (1080, 1632) 1370454484 -6.336143287639424 treat image : temp/1751557949_3626439_1370454482_edcd9beb3af267b9669243499c3f7944.jpg resize: (1080, 1632) 1370454482 -6.3396687671854375 treat image : temp/1751557949_3626439_1370454481_6bca5bc94bfbc782204f9c3e2982d336.jpg resize: (1080, 1632) 1370454481 -6.37104562539851 treat image : temp/1751557949_3626439_1370454476_dd4be36ab53bac2c3e3abb6b61a4a257.jpg resize: (1080, 1632) 1370454476 -5.28496710827768 treat image : temp/1751557949_3626439_1370454472_7637b4bd765f968faf01278400ed1afd.jpg resize: (1080, 1632) 1370454472 -5.286332887076346 treat image : temp/1751557949_3626439_1370454468_dd75d18915411472d36ac9f4b84e84bb.jpg resize: (1080, 1632) 1370454468 -5.286087752040986 treat image : temp/1751557949_3626439_1370454457_d3f62ca8d96fd13c90a1a8c0cca6cd80.jpg resize: (1080, 1632) 1370454457 -5.2996815971535485 treat image : temp/1751557949_3626439_1370454454_b2755e23e60d8a908ae82032b2577b7c.jpg resize: (1080, 1632) 1370454454 -5.301390844755864 treat image : temp/1751557949_3626439_1370454449_69bdf4b604b01df5295a8cca30fbf619.jpg resize: (1080, 1632) 1370454449 -5.306967211419049 treat image : temp/1751557949_3626439_1370454446_799f74c4f276d85b7082d51b504a5479.jpg resize: (1080, 1632) 1370454446 -5.300358418001514 treat image : temp/1751557949_3626439_1370454443_01b97b0ab243722d480d5509b518b85a.jpg resize: (1080, 1632) 1370454443 -5.310295976511541 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.04280662536621094 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.045073509216308594 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04813218116760254 save missing photos in datou_result : time spend for datou_step_exec : 19.79289937019348 time spend to save output : 0.15754389762878418 total time spend for step 1 : 19.950443267822266 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.71user 7.87system 0:26.72elapsed 84%CPU (0avgtext+0avgdata 139676maxresident)k 3488inputs+10736outputs (13major+258040minor)pagefaults 0swaps