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 : 3358343 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 : 8382>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/3358343/ 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.6466257572174072 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 07: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/1751692347_3358343_1370747241_be57b320030abf3e0be3ab02f3ccb028.jpg resize: (1080, 1632) 1370747241 -4.4286159047177645 treat image : temp/1751692347_3358343_1370747237_92ac00fdb28153f82d1af416e4a0a715.jpg resize: (1080, 1632) 1370747237 -4.42875373271837 treat image : temp/1751692347_3358343_1370747233_dbe3ed7fa3f7caaf044644972e01bb4d.jpg resize: (1080, 1632) 1370747233 -4.423555416957464 treat image : temp/1751692347_3358343_1370747228_ee3c9ee23be7cd7c2c3f698606dfd8c4.jpg resize: (1080, 1632) 1370747228 -3.8241369368479217 treat image : temp/1751692347_3358343_1370716671_9156e87e078a073000610384e80ddc05.jpg resize: (1080, 1632) 1370716671 -3.981700391174751 treat image : temp/1751692347_3358343_1370716667_919e3dba8cdc5b5f3b2f9dc8d1e37e0a.jpg resize: (1080, 1632) 1370716667 -3.947025365090787 treat image : temp/1751692347_3358343_1370716658_c4a0250e4536259e4e5daef24915c4a0.jpg resize: (1080, 1632) 1370716658 -3.9102709130215083 treat image : temp/1751692347_3358343_1370716653_d291ec8e8627c98aa39ef733c17263a5.jpg resize: (1080, 1632) 1370716653 -3.955318538080505 treat image : temp/1751692347_3358343_1370716557_5c7aa17566b57e978be4f8a30d113fa0.jpg resize: (1080, 1632) 1370716557 -3.9912978726277735 treat image : temp/1751692347_3358343_1370716556_f9dca7c56daf7713cdfa4f7e76f90b47.jpg resize: (1080, 1632) 1370716556 -3.9877684261150277 treat image : temp/1751692347_3358343_1370716554_d08f91963a42882ad886607468b809e5.jpg resize: (1080, 1632) 1370716554 -3.9976890831792162 treat image : temp/1751692347_3358343_1370716544_60e13a99e6df8ab98bbb559d9d8d405f.jpg resize: (1080, 1632) 1370716544 -4.006321982098542 treat image : temp/1751692347_3358343_1370716541_c4b3709b5c30efafc8fdd1207d292173.jpg resize: (1080, 1632) 1370716541 -4.00112063176456 treat image : temp/1751692347_3358343_1370716538_9fbb79f0af9c963b361cc3655b1de959.jpg resize: (1080, 1632) 1370716538 -4.012098760537752 treat image : temp/1751692347_3358343_1370716447_dbb17cb8c25ca38e9b843602f3d7f861.jpg resize: (1080, 1632) 1370716447 -4.056900591339762 treat image : temp/1751692347_3358343_1370716446_dd72ef5b3061149d93307723fb1b44f3.jpg resize: (1080, 1632) 1370716446 -4.083084033056499 treat image : temp/1751692347_3358343_1370716443_21de99949973c8774be34e24f2d71896.jpg resize: (1080, 1632) 1370716443 -4.0951908880376 treat image : temp/1751692347_3358343_1370716438_9f981fae93fa104a368e2b30b81b5dc3.jpg resize: (1080, 1632) 1370716438 -4.127114093144581 treat image : temp/1751692347_3358343_1370716432_41df09ff7283bf59ab4e4a11db3c489e.jpg resize: (1080, 1632) 1370716432 -4.137162762564331 treat image : temp/1751692347_3358343_1370716429_5fe8de4f45414dbe2450bbadef2fd744.jpg resize: (1080, 1632) 1370716429 -4.112069168748575 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.0135345458984375 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.016474246978759766 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01849985122680664 save missing photos in datou_result : time spend for datou_step_exec : 17.181764841079712 time spend to save output : 0.053957223892211914 total time spend for step 1 : 17.235722064971924 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.62user 5.30system 0:21.38elapsed 93%CPU (0avgtext+0avgdata 136956maxresident)k 192inputs+8112outputs (7major+256250minor)pagefaults 0swaps