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 : 3349516 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 : 8346>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/3349516/ 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.4059650897979736 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:07: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/1751692048_3349516_1370747137_692c9a096f3d7c7d994e8b4d04ebb7d7.jpg resize: (1080, 1632) 1370747137 -5.063904295622109 treat image : temp/1751692048_3349516_1370747104_0e00d3ecfc730b2ffc3d39360720bdbd.jpg resize: (1080, 1632) 1370747104 -5.098022638851648 treat image : temp/1751692048_3349516_1370747100_178774bb4293cdeaa97a7a41ba83dee4.jpg resize: (1080, 1632) 1370747100 -4.777046584484354 treat image : temp/1751692048_3349516_1370747077_6777aaea355ced55e043dc18025fabda.jpg resize: (1080, 1632) 1370747077 -4.801976580514499 treat image : temp/1751692048_3349516_1370747074_ca8865def682c93e400d4929ed45c587.jpg resize: (1080, 1632) 1370747074 -4.345378249301399 treat image : temp/1751692048_3349516_1370747070_1c8a8a5ab72e6e553369c3bc58317538.jpg resize: (1080, 1632) 1370747070 -5.296541674780399 treat image : temp/1751692048_3349516_1370747047_e61760db0f77c2edfacb17ba5f356a2a.jpg resize: (1080, 1632) 1370747047 -5.290751136989583 treat image : temp/1751692048_3349516_1370747037_049be0a4ee8ca1a298782da9fba37a13.jpg resize: (1080, 1632) 1370747037 -5.281633527020911 treat image : temp/1751692048_3349516_1370747034_74c756ca24eddd51a347a00593772ff3.jpg resize: (1080, 1632) 1370747034 -4.97942139778765 treat image : temp/1751692048_3349516_1370747032_1563cdedb2ee23dfa53a1a3f2425500f.jpg resize: (1080, 1632) 1370747032 -1.4702602168005472 treat image : temp/1751692048_3349516_1370747029_9cf76762d9a58020c5f93fa784361b7e.jpg resize: (1080, 1632) 1370747029 -2.808634806053644 treat image : temp/1751692048_3349516_1370747025_72a9cb73c4e2a86ee2279d646411cd4a.jpg resize: (1080, 1632) 1370747025 -2.7896962949216206 treat image : temp/1751692048_3349516_1370746874_f69d256e328c0c2833be71ca1fd61810.jpg resize: (1080, 1632) 1370746874 -4.32745815004948 treat image : temp/1751692048_3349516_1370746871_bc9e919b340948b1ebd73c99ecd0ab42.jpg resize: (1080, 1632) 1370746871 -3.871275815516247 treat image : temp/1751692048_3349516_1370746868_6600c75578ec1fe24cfe086b1f5a17b2.jpg resize: (1080, 1632) 1370746868 -4.716484838888676 treat image : temp/1751692048_3349516_1370746865_01247e77f933b70072b23bd1d61bd9d7.jpg resize: (1080, 1632) 1370746865 -4.754872546470425 treat image : temp/1751692048_3349516_1370746861_793ca9bc9a28d536e951d6cb328eba12.jpg resize: (1080, 1632) 1370746861 -5.190397341803157 treat image : temp/1751692048_3349516_1370746830_21557fcc57068514290122f9ee17a822.jpg resize: (1080, 1632) 1370746830 -5.178358439847717 treat image : temp/1751692048_3349516_1370746801_f8d2b0ffd6e2f39a6ec1ccd4dabfdd7a.jpg resize: (1080, 1632) 1370746801 -3.4393040808553086 treat image : temp/1751692048_3349516_1370746792_c90cf0968d1c1aa5e5a7cb2f7b63b4d7.jpg resize: (1080, 1632) 1370746792 -4.909207800087048 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.015130996704101562 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.016034603118896484 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013831853866577148 save missing photos in datou_result : time spend for datou_step_exec : 16.9669930934906 time spend to save output : 0.049483537673950195 total time spend for step 1 : 17.01647663116455 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.72user 4.63system 0:23.01elapsed 84%CPU (0avgtext+0avgdata 137256maxresident)k 2424inputs+8680outputs (12major+259742minor)pagefaults 0swaps