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 : 3615811 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 : 4132>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/3615811/ 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.886873960494995 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 Mar 22 04:42: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/1742614947_3615811_1346229899_cef7b3e74748ec69220b9253f10dbec8.jpg resize: (1080, 1632) 1346229899 -4.624261778020642 treat image : temp/1742614947_3615811_1346229799_32072948d3193a3a42bff6f8ef2196db.jpg resize: (1080, 1632) 1346229799 -4.051895006085847 treat image : temp/1742614947_3615811_1346229643_84d59989c6093fdd76e8aec0398fd7d5.jpg resize: (1080, 1632) 1346229643 -5.523568168536021 treat image : temp/1742614947_3615811_1346229580_ffe0e21109797eea9a55ba9976153e50.jpg resize: (1080, 1632) 1346229580 -6.411573070286679 treat image : temp/1742614947_3615811_1346229534_2d7a7b67ea8e3908713ec772f5e993e4.jpg resize: (1080, 1632) 1346229534 -6.62712204181358 treat image : temp/1742614947_3615811_1346229475_96d236690d59a4c2250a9a3bb0b57c4f.jpg resize: (1080, 1632) 1346229475 -5.86795295966396 treat image : temp/1742614947_3615811_1346229371_e3877eda778d16429ebf67236e64b4c7.jpg resize: (1080, 1632) 1346229371 -6.484270384564717 treat image : temp/1742614947_3615811_1346229271_58771d7167f451810f15eb3031c69eb3.jpg resize: (1080, 1632) 1346229271 -4.52812195318515 treat image : temp/1742614947_3615811_1346227653_d310884cd3817a646ba0e4d76b2618c0.jpg resize: (1080, 1632) 1346227653 -5.158696385673044 treat image : temp/1742614947_3615811_1346227623_6e604ba41bb69785dc85f88640d855f5.jpg resize: (1080, 1632) 1346227623 -4.309556130600894 treat image : temp/1742614947_3615811_1346227603_e0da73fb86edffe1e7975aa8cb053025.jpg resize: (1080, 1632) 1346227603 -6.070857266655831 treat image : temp/1742614947_3615811_1346227602_c37218d3a9e2bda346b33fa614ab1112.jpg resize: (1080, 1632) 1346227602 -5.618517674411766 treat image : temp/1742614947_3615811_1346227129_6806fb99d53a1ec07167436fb31834d3.jpg resize: (1080, 1632) 1346227129 -5.472351189801436 treat image : temp/1742614947_3615811_1346227117_ce27efa6383f1c3d3033531195d42038.jpg resize: (1080, 1632) 1346227117 -5.472351189801436 treat image : temp/1742614947_3615811_1346227103_dd0563746caff3179b04acfc2684d7fd.jpg resize: (1080, 1632) 1346227103 -5.466622744215907 treat image : temp/1742614947_3615811_1346227089_1853e078dbcfbd3cf2fa082256079cc8.jpg resize: (1080, 1632) 1346227089 -5.466622744215907 treat image : temp/1742614947_3615811_1346227023_4e15436138a18043113662a2c724f336.jpg resize: (1080, 1632) 1346227023 -5.513861727016184 treat image : temp/1742614947_3615811_1346226997_7444d723bf1aef07780001e7b62a3a5f.jpg resize: (1080, 1632) 1346226997 -5.514186257220462 treat image : temp/1742614947_3615811_1346226976_86c12142a5354c44ff9c1e6ff3ef65ac.jpg resize: (1080, 1632) 1346226976 -5.996026311936025 treat image : temp/1742614947_3615811_1346226952_fedfae788b11fdf7662f29722d166ba7.jpg resize: (1080, 1632) 1346226952 -6.868326237471662 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.014684915542602539 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.16695475578308105 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.08774566650390625 save missing photos in datou_result : time spend for datou_step_exec : 14.5200777053833 time spend to save output : 0.2750120162963867 total time spend for step 1 : 14.795089721679688 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.13user 2.88system 0:20.88elapsed 81%CPU (0avgtext+0avgdata 139832maxresident)k 128inputs+11672outputs (10major+210967minor)pagefaults 0swaps