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 : 2283790 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 : 3616>100 please execute split_portfolio.py -i 21478223 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2674161'] with mtr_portfolio_ids : ['21478223'] and first list_photo_ids : [] new path : /proc/2283790/ 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 : 1.9460453987121582 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 Fri Mar 21 23:47:31 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/1742597249_2283790_1346278741_749197838525704fca76165c4a13d756.jpg resize: (1080, 1632) 1346278741 -3.6663640510184567 treat image : temp/1742597249_2283790_1346278736_b367bc64b2ca4acef15d13a5d33db59f.jpg resize: (1080, 1632) 1346278736 -2.1482896820005846 treat image : temp/1742597249_2283790_1346278731_7009e098d9c0091e73549daa7b2663d9.jpg resize: (1080, 1632) 1346278731 -3.09388344995934 treat image : temp/1742597249_2283790_1346278726_351999d8d76e403e6485540c44313fab.jpg resize: (1080, 1632) 1346278726 -3.6855505167100366 treat image : temp/1742597249_2283790_1346278724_0dc1875ec2f11cb8ef10f49ba23fe2ce.jpg resize: (1080, 1632) 1346278724 -4.224647344827997 treat image : temp/1742597249_2283790_1346278723_68b9a769bfc7145c86ddc302e7573d18.jpg resize: (1080, 1632) 1346278723 -5.656161164037891 treat image : temp/1742597249_2283790_1346278714_379a7582ce31534f78472c1089d9f6a4.jpg resize: (1080, 1632) 1346278714 -3.260796927762823 treat image : temp/1742597249_2283790_1346278709_81b5eb0538256485db0dfa6f249faa35.jpg resize: (1080, 1632) 1346278709 -5.576020741102237 treat image : temp/1742597249_2283790_1346278703_a1daf006642e7d279426239e4319fca9.jpg resize: (1080, 1632) 1346278703 -4.326005086090581 treat image : temp/1742597249_2283790_1346278690_6fccb674e592a06ab5e531ecf694a1c8.jpg resize: (1080, 1632) 1346278690 -5.7440528900206855 treat image : temp/1742597249_2283790_1346278660_bbf47e1a52b2e2c0fb08a4f07bd138da.jpg resize: (1080, 1632) 1346278660 -2.2657043766359024 treat image : temp/1742597249_2283790_1346278629_8939747e86477d6ae3ad47b9197804ca.jpg resize: (1080, 1632) 1346278629 -4.719150831480385 treat image : temp/1742597249_2283790_1346278540_3aef73eef916514415295aa44eef6563.jpg resize: (1080, 1632) 1346278540 -5.658528754304806 treat image : temp/1742597249_2283790_1346278538_540e0b80a81347770cbd0dcbb196a4d9.jpg resize: (1080, 1632) 1346278538 -6.168051927401388 treat image : temp/1742597249_2283790_1346278533_d6a2bd2a36d155d8272c95e8e8c9a9a3.jpg resize: (1080, 1632) 1346278533 -4.258276599757201 treat image : temp/1742597249_2283790_1346278530_86b3b6dfb16563fa4617c015334044d9.jpg resize: (1080, 1632) 1346278530 -6.003489647857877 treat image : temp/1742597249_2283790_1346278525_46197ac850bf7bf906e5eace67772be6.jpg resize: (1080, 1632) 1346278525 -5.549425404334703 treat image : temp/1742597249_2283790_1346278518_1df0ac341ea859c4540caaa76fc3aa1b.jpg resize: (1080, 1632) 1346278518 -2.5171147946692716 treat image : temp/1742597249_2283790_1346278508_f0b594534721ed1660e75d6d46497044.jpg resize: (1080, 1632) 1346278508 -2.8959551461336717 treat image : temp/1742597249_2283790_1346278492_7cc7b585f389186d696ce3ac0d3fa4d6.jpg resize: (1080, 1632) 1346278492 -5.685830339511314 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.015932559967041016 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.014825105667114258 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019020795822143555 save missing photos in datou_result : time spend for datou_step_exec : 15.417359352111816 time spend to save output : 0.05454826354980469 total time spend for step 1 : 15.471907615661621 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.43user 3.46system 0:21.36elapsed 83%CPU (0avgtext+0avgdata 139192maxresident)k 88inputs+9712outputs (14major+261191minor)pagefaults 0swaps