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 : 4029647 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 : 2962>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/4029647/ 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.162357807159424 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 Wed May 21 19:57: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/1747850249_4029647_1360139860_530b05c0fc9142c5026bc2833fe372bb.jpg resize: (1080, 1632) 1360139860 -3.2326765170175404 treat image : temp/1747850249_4029647_1360139831_0c516adc3938e7a9f91d5d6c70abf772.jpg resize: (1080, 1632) 1360139831 -4.972997743262393 treat image : temp/1747850249_4029647_1360139797_f627ebf472c7cca222c655c1d69873fb.jpg resize: (1080, 1632) 1360139797 -5.231548271649515 treat image : temp/1747850249_4029647_1360139750_e0646609749d25f6545223b486c273f6.jpg resize: (1080, 1632) 1360139750 -5.16948459741862 treat image : temp/1747850249_4029647_1360139695_9c0a749cd9f92b37111d89381d7b0ca0.jpg resize: (1080, 1632) 1360139695 -5.977099818233991 treat image : temp/1747850249_4029647_1360139283_5381851bd7ff4209aecb67b46d2b482e.jpg resize: (1080, 1632) 1360139283 -4.920993303204746 treat image : temp/1747850249_4029647_1360139254_151d50cbc3e54401a475b13059c928a6.jpg resize: (1080, 1632) 1360139254 0.5482235561189155 treat image : temp/1747850249_4029647_1360139226_679548d4809625d4e15fa1a29644df48.jpg resize: (1080, 1632) 1360139226 -1.9650010255104926 treat image : temp/1747850249_4029647_1360139007_bff56b611239bcbc1af4697bb83d9372.jpg resize: (1080, 1632) 1360139007 -1.6585770880477184 treat image : temp/1747850249_4029647_1360138990_1a2319f2e59027aeefc1a329106fb8f9.jpg resize: (1080, 1632) 1360138990 -4.934336349872697 treat image : temp/1747850249_4029647_1360138956_e6f76dab6ee4e4746231d8bbee6a276d.jpg resize: (1080, 1632) 1360138956 -4.964136431899284 treat image : temp/1747850249_4029647_1360138899_2904f0dc7c1724a6c4f13343f42647c1.jpg resize: (1080, 1632) 1360138899 -5.116289552005905 treat image : temp/1747850249_4029647_1360138839_adbb5d2f2423720a88c89e192c072478.jpg resize: (1080, 1632) 1360138839 -5.002163632675005 treat image : temp/1747850249_4029647_1360138431_d0421d3a80634e2ce2f7d6d1c63bef11.jpg resize: (1080, 1632) 1360138431 -3.7701123995606847 treat image : temp/1747850249_4029647_1360138380_7f381553fd5a93a3ac1c3c40cc9ab7c6.jpg resize: (1080, 1632) 1360138380 -4.630891383197345 treat image : temp/1747850249_4029647_1360138329_216ebb1a7218d07fd607eb0110926754.jpg resize: (1080, 1632) 1360138329 -4.764946685918435 treat image : temp/1747850249_4029647_1360138280_77e25e870fe603398a42fffe75e46e78.jpg resize: (1080, 1632) 1360138280 -4.35769111230059 treat image : temp/1747850249_4029647_1360138228_16af58cf5aa1b49fe852f0d47d95cfb7.jpg resize: (1080, 1632) 1360138228 -2.01948155769503 treat image : temp/1747850249_4029647_1360138175_c864ec5ac253c3032f9270d3656c85d4.jpg resize: (1080, 1632) 1360138175 -3.502312869649264 treat image : temp/1747850249_4029647_1360135211_f9b8f6a36e694ae6ea82b5449187299d.jpg resize: (1080, 1632) 1360135211 -5.544371112720728 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.01242518424987793 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.011877775192260742 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017929792404174805 save missing photos in datou_result : time spend for datou_step_exec : 15.654642820358276 time spend to save output : 0.04690742492675781 total time spend for step 1 : 15.701550245285034 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.24user 4.13system 0:21.99elapsed 83%CPU (0avgtext+0avgdata 138532maxresident)k 112inputs+8760outputs (4major+259738minor)pagefaults 0swaps