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 : 1844273 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 : 3799>100 please execute split_portfolio.py -i 24702204 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3248096'] with mtr_portfolio_ids : ['24702204'] and first list_photo_ids : [] new path : /proc/1844273/ 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.507422924041748 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 Jul 8 10:42: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/1751964149_1844273_1371150998_4554a7fbfba8f640e8d608c3d3ae20a8.jpg resize: (1080, 1632) 1371150998 -5.641160765149524 treat image : temp/1751964149_1844273_1371150995_f7149e9e9480b2c229ae943409218208.jpg resize: (1080, 1632) 1371150995 -5.620300810821661 treat image : temp/1751964149_1844273_1371150993_462fe1935cb06746afee4c194f446eba.jpg resize: (1080, 1632) 1371150993 -5.773708606830048 treat image : temp/1751964149_1844273_1371150984_17b140908dccebd4320b9d7f442ad008.jpg resize: (1080, 1632) 1371150984 -5.9590259821897185 treat image : temp/1751964149_1844273_1371150980_7e1c5996ee9a93d1275ef4a9ea96693f.jpg resize: (1080, 1632) 1371150980 -5.938472166587753 treat image : temp/1751964149_1844273_1371150977_0a859815179262ce9b0eed14984b3d86.jpg resize: (1080, 1632) 1371150977 -5.844601813688299 treat image : temp/1751964149_1844273_1371150975_cb989d75a6f3001445e78bc18c23effd.jpg resize: (1080, 1632) 1371150975 -5.941403946102654 treat image : temp/1751964149_1844273_1371150973_faa2f3891a382fa5044b58c03b78cf8b.jpg resize: (1080, 1632) 1371150973 -5.465773153307366 treat image : temp/1751964149_1844273_1371150970_4f13781ccca0350f3aa2aaf964584990.jpg resize: (1080, 1632) 1371150970 -3.157413858471609 treat image : temp/1751964149_1844273_1371150952_66fd390b0680a2d8c60ea2f241c01986.jpg resize: (1080, 1632) 1371150952 -2.0241503074164027 treat image : temp/1751964149_1844273_1371150947_8c4fa97c115204a342fe7bc4be7e8fa7.jpg resize: (1080, 1632) 1371150947 -2.7165156109479605 treat image : temp/1751964149_1844273_1371150944_7a9d542e93ac6d306fd3178ce5344522.jpg resize: (1080, 1632) 1371150944 -2.1547836657473782 treat image : temp/1751964149_1844273_1371150942_1324c542d27065a2640eb45bcec05255.jpg resize: (1080, 1632) 1371150942 -2.6869837248954442 treat image : temp/1751964149_1844273_1371150941_40d4cf5b08d476aa69a10bbbb8ba35ba.jpg resize: (1080, 1632) 1371150941 -2.9600522110173086 treat image : temp/1751964149_1844273_1371150938_3786c21704b02bc46b9823ef0a8f8250.jpg resize: (1080, 1632) 1371150938 -2.6360529086869806 treat image : temp/1751964149_1844273_1371150933_d4411948ac3e3b9b1883576e792cb156.jpg resize: (1080, 1632) 1371150933 -5.223640785381343 treat image : temp/1751964149_1844273_1371150929_dc88d2294aa4f9b4ddc7bd9dc8f69f7d.jpg resize: (1080, 1632) 1371150929 -3.107818879806589 treat image : temp/1751964149_1844273_1371150926_b2dcb9fb1ed5f8e31534f931f810bcc8.jpg resize: (1080, 1632) 1371150926 -4.795205369084012 treat image : temp/1751964149_1844273_1371150924_7ef9a08e5e04276bbb03a070f088959d.jpg resize: (1080, 1632) 1371150924 -2.8372839433727264 treat image : temp/1751964149_1844273_1371150922_2fb9aef4fa4010ce3490dcdde34cda84.jpg resize: (1080, 1632) 1371150922 -4.838507503267963 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.020626544952392578 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.014986276626586914 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01593160629272461 save missing photos in datou_result : time spend for datou_step_exec : 14.538836479187012 time spend to save output : 0.05675172805786133 total time spend for step 1 : 14.595588207244873 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.67user 3.06system 0:21.36elapsed 78%CPU (0avgtext+0avgdata 139840maxresident)k 80inputs+9240outputs (15major+259063minor)pagefaults 0swaps