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 : 1562477 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 : 3538>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/1562477/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 1.815481424331665 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 Jul 4 15:47:32 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/1751636850_1562477_1370637251_f9f0050e9691a0e52d5da07f3aed52ce.jpg resize: (1080, 1632) 1370637251 -2.3862981054482484 treat image : temp/1751636850_1562477_1370637177_f0490b1fa654565dccbc10e123211291.jpg resize: (1080, 1632) 1370637177 -2.369781240812097 treat image : temp/1751636850_1562477_1370637081_ac6b6474444580e6a7c47b88d1ed17e8.jpg resize: (1080, 1632) 1370637081 -2.3515947184911323 treat image : temp/1751636850_1562477_1370636988_786fe35d7dfa43ba594ae42046912297.jpg resize: (1080, 1632) 1370636988 -2.533311320885759 treat image : temp/1751636850_1562477_1370636894_5bfb41282779f49a2f3977b0a33c82d4.jpg resize: (1080, 1632) 1370636894 -4.138771358300028 treat image : temp/1751636850_1562477_1370636750_0758acb7e1f8b50faa0e0c75b3e22a51.jpg resize: (1080, 1632) 1370636750 -4.020564173674302 treat image : temp/1751636850_1562477_1370636421_a1f5f5a1bec59e06d62ee3f38a0c2ae5.jpg resize: (1080, 1632) 1370636421 -5.785759600381849 treat image : temp/1751636850_1562477_1370636341_45ad804aa43573f15cfe731b5d8a11a6.jpg resize: (1080, 1632) 1370636341 -3.6350718461845695 treat image : temp/1751636850_1562477_1370636265_7575500ccad57b99a5afc4aec7dd83fa.jpg resize: (1080, 1632) 1370636265 -5.48619909473161 treat image : temp/1751636850_1562477_1370636197_d8a305e3acf2fd6098b6bc92fecdfd7f.jpg resize: (1080, 1632) 1370636197 -5.685767772258807 treat image : temp/1751636850_1562477_1370636133_2fd606350b3afa9d0ec5eed88f93a5a8.jpg resize: (1080, 1632) 1370636133 -3.8119912034259076 treat image : temp/1751636850_1562477_1370636082_5f3487b6372632c4dca3130dcdd50e30.jpg resize: (1080, 1632) 1370636082 -1.581482536135831 treat image : temp/1751636850_1562477_1370635647_64a5a9af534bf6ec5cba800f7889e602.jpg resize: (1080, 1632) 1370635647 -3.2449374671300357 treat image : temp/1751636850_1562477_1370635637_1edec5f49dcd9385c7a3de90ed37848d.jpg resize: (1080, 1632) 1370635637 -3.24709303341438 treat image : temp/1751636850_1562477_1370635611_ef1e94a8f904333e83179870f511fa0f.jpg resize: (1080, 1632) 1370635611 -2.1560894537242192 treat image : temp/1751636850_1562477_1370635576_839ed260c6329c4625e35f71d04e6297.jpg resize: (1080, 1632) 1370635576 -4.392820066101913 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 : 16 time used for this insertion : 0.030220746994018555 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 16 time used for this insertion : 0.03219890594482422 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.035636186599731445 save missing photos in datou_result : time spend for datou_step_exec : 13.26490306854248 time spend to save output : 0.11005020141601562 total time spend for step 1 : 13.374953269958496 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 16 set_done_treatment 11.50user 4.00system 0:19.40elapsed 79%CPU (0avgtext+0avgdata 136996maxresident)k 96inputs+6544outputs (9major+222455minor)pagefaults 0swaps