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 : 3420202 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 : 5141>100 please execute split_portfolio.py -i 22406770 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2759758'] with mtr_portfolio_ids : ['22406770'] and first list_photo_ids : [] new path : /proc/3420202/ 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.856790065765381 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 Mon Apr 28 19:57: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/1745863048_3420202_1353887038_12dd2a57657991b6e44e1939449aa926.jpg resize: (1080, 1632) 1353887038 -5.707598839883872 treat image : temp/1745863048_3420202_1353886831_47d53fcfef6cc732a4fe824387553635.jpg resize: (1080, 1632) 1353886831 -3.749789623273665 treat image : temp/1745863048_3420202_1353886773_40960f051afd29ecfce59fdac3451ec9.jpg resize: (1080, 1632) 1353886773 -1.1108648991627759 treat image : temp/1745863048_3420202_1353886712_c117a042bb8c4de864ac57cf7ff2bc3f.jpg resize: (1080, 1632) 1353886712 -1.6837111214598222 treat image : temp/1745863048_3420202_1353886654_904da65477163619b3bb3538b3b0e7ca.jpg resize: (1080, 1632) 1353886654 -3.551610518484025 treat image : temp/1745863048_3420202_1353886596_6291703e9263e42359d0352d27859f81.jpg resize: (1080, 1632) 1353886596 -4.858778976094261 treat image : temp/1745863048_3420202_1353886537_214c46afc447353e7e802eb4b6d75418.jpg resize: (1080, 1632) 1353886537 -5.415459913515049 treat image : temp/1745863048_3420202_1353886354_936d0b3dfd58e4f13a1083c35df44ed9.jpg resize: (1080, 1632) 1353886354 -4.637011205819807 treat image : temp/1745863048_3420202_1353886297_4067bbfae456e79cc6a7e24a6ac2b508.jpg resize: (1080, 1632) 1353886297 -4.858007696756334 treat image : temp/1745863048_3420202_1353886238_9f7e2743d7b669cb473bab646eb7d5a6.jpg resize: (1080, 1632) 1353886238 -5.179742374120658 treat image : temp/1745863048_3420202_1353886171_227a4d961db8e4655bf5c7abcd82e560.jpg resize: (1080, 1632) 1353886171 -5.699018711493061 treat image : temp/1745863048_3420202_1353886101_98252b1599a0db85b1d60a850a437cdf.jpg resize: (1080, 1632) 1353886101 -4.898793321952113 treat image : temp/1745863048_3420202_1353886044_38ec3fd08a0e886e8949cba01497d89c.jpg resize: (1080, 1632) 1353886044 -5.215770777237087 treat image : temp/1745863048_3420202_1353885853_9a8f77368a6eae9341c50a35339b53b0.jpg resize: (1080, 1632) 1353885853 -5.944425305826924 treat image : temp/1745863048_3420202_1353885792_34b9983b680b8646297a8dbdb0ba2a6c.jpg resize: (1080, 1632) 1353885792 -5.872553001474704 treat image : temp/1745863048_3420202_1353885733_4c4d7ea964717743558f57dd855c8a4d.jpg resize: (1080, 1632) 1353885733 -5.454398252204395 treat image : temp/1745863048_3420202_1353885678_4620cdae149f90782131be3be95ac0ea.jpg resize: (1080, 1632) 1353885678 -4.722565774993384 treat image : temp/1745863048_3420202_1353885650_2c73370a29bf17362b580e9e7ed39ff1.jpg resize: (1080, 1632) 1353885650 -1.8264949487645872 treat image : temp/1745863048_3420202_1353885621_8026174ed64158ab0c3ef41d15f561c7.jpg resize: (1080, 1632) 1353885621 -1.5830661383393796 treat image : temp/1745863048_3420202_1353885456_d8cee9a08b592ab57d5a9ae05d06ae42.jpg resize: (1080, 1632) 1353885456 -1.888066200105131 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.015847444534301758 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.014892578125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01789069175720215 save missing photos in datou_result : time spend for datou_step_exec : 19.00813579559326 time spend to save output : 0.053200721740722656 total time spend for step 1 : 19.061336517333984 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.41user 6.43system 0:25.92elapsed 84%CPU (0avgtext+0avgdata 138164maxresident)k 1624inputs+9448outputs (29major+262320minor)pagefaults 0swaps