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 : 1428423 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 : 1134>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/1428423/ 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.2347493171691895 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 Tue May 20 09: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/1747724848_1428423_1359779184_882b3809f46de52767b03f99fbc37357.jpg resize: (1080, 1632) 1359779184 -2.3714400190841673 treat image : temp/1747724848_1428423_1359778846_af19d5bae0681b197feecf6caf3e860d.jpg resize: (1080, 1632) 1359778846 -3.6734851963802577 treat image : temp/1747724848_1428423_1359778842_9a6d4f109cd939b7c31813c132c21f0a.jpg resize: (1080, 1632) 1359778842 -2.37565097327765 treat image : temp/1747724848_1428423_1359778838_f8a2658644a1ef1f5986a5987bf26bca.jpg resize: (1080, 1632) 1359778838 -3.0294657043255406 treat image : temp/1747724848_1428423_1359778833_3bf58385bb2f91b6e2bffb264ddec48d.jpg resize: (1080, 1632) 1359778833 -2.85027959549893 treat image : temp/1747724848_1428423_1359778828_c17fecc9fd9b356f0fb1223c24dd0618.jpg resize: (1080, 1632) 1359778828 -3.8163143903845254 treat image : temp/1747724848_1428423_1359778823_caff180273eea46f4d99ace741862d3c.jpg resize: (1080, 1632) 1359778823 -5.126848794502263 treat image : temp/1747724848_1428423_1359778781_f819282d211b0c3cd24dd961a1f9dac7.jpg resize: (1080, 1632) 1359778781 -3.196779916319301 treat image : temp/1747724848_1428423_1359778775_681ce86340d9689e419af8ef46caae1d.jpg resize: (1080, 1632) 1359778775 -0.3489415948053433 treat image : temp/1747724848_1428423_1359778772_b149c164911cf48869ed54efcad24daa.jpg resize: (1080, 1632) 1359778772 -1.5636859513615922 treat image : temp/1747724848_1428423_1359778769_f2bc908b242df5e92ac304da11dff8da.jpg resize: (1080, 1632) 1359778769 -2.528512236337695 treat image : temp/1747724848_1428423_1359778744_ff455a661b811090526672cf73d00544.jpg resize: (1080, 1632) 1359778744 -5.908966025180399 treat image : temp/1747724848_1428423_1359778742_a804880da40452639c52360b90f41458.jpg resize: (1080, 1632) 1359778742 -3.683421484579928 treat image : temp/1747724848_1428423_1359778740_de3a8b49a838eab981447668a828f65c.jpg resize: (1080, 1632) 1359778740 -5.923246385281257 treat image : temp/1747724848_1428423_1359778738_25ddc2f55cb77fbd21b9a4b1c53da7c5.jpg resize: (1080, 1632) 1359778738 -5.204714060107565 treat image : temp/1747724848_1428423_1359778735_56e19b3da398fe3d51a3985ebde1dc78.jpg resize: (1080, 1632) 1359778735 -5.13884161247396 treat image : temp/1747724848_1428423_1359778731_9c214bb825dd60f0e8b12cc2af1ca6cd.jpg resize: (1080, 1632) 1359778731 -3.296422526751793 treat image : temp/1747724848_1428423_1359778689_2b2acbe285de6f985aff9b3edff682b8.jpg resize: (1080, 1632) 1359778689 -4.021968006922543 treat image : temp/1747724848_1428423_1359778685_54993e93405de6136292ac0ea97278a8.jpg resize: (1080, 1632) 1359778685 -1.6745405619488032 treat image : temp/1747724848_1428423_1359778682_853838fc930e82f17f2aac4a8b3235ec.jpg resize: (1080, 1632) 1359778682 -2.082856503677133 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.015787363052368164 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.2389509677886963 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.13191771507263184 save missing photos in datou_result : time spend for datou_step_exec : 18.15469717979431 time spend to save output : 0.39122509956359863 total time spend for step 1 : 18.54592227935791 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.57user 5.15system 0:24.55elapsed 84%CPU (0avgtext+0avgdata 136880maxresident)k 688inputs+8392outputs (23major+257617minor)pagefaults 0swaps