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 : 1792829 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 : 4444>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/1792829/ 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.371072292327881 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 17:37:28 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/1751643446_1792829_1370659097_1bef2a8c94af9d2fe2e6c75c7e9b0a03.jpg resize: (1080, 1632) 1370659097 -3.596560752120581 treat image : temp/1751643446_1792829_1370659095_44e2d9f436315d3c7826c161f68832dc.jpg resize: (1080, 1632) 1370659095 -3.5803119592178634 treat image : temp/1751643446_1792829_1370659094_3a63ff1040b9e2f302a1e426c84401dd.jpg resize: (1080, 1632) 1370659094 -3.5776243125178806 treat image : temp/1751643446_1792829_1370659089_3c4ad8e077c8aff464b719916a6551b0.jpg resize: (1080, 1632) 1370659089 -3.6070120351851167 treat image : temp/1751643446_1792829_1370659083_e3bd37fbb2e2c5a425f2c0e94c3b6597.jpg resize: (1080, 1632) 1370659083 -3.6008238644883597 treat image : temp/1751643446_1792829_1370659077_8edca3a288dd5ddcba50cf562361f6c8.jpg resize: (1080, 1632) 1370659077 -3.6185688529026336 treat image : temp/1751643446_1792829_1370659066_f4d2fedfc36180200fcd2ae4b80aff9a.jpg resize: (1080, 1632) 1370659066 -2.856636457915579 treat image : temp/1751643446_1792829_1370659064_97d3b3ce630919fd2381d9d32c05367c.jpg resize: (1080, 1632) 1370659064 -2.806901895414201 treat image : temp/1751643446_1792829_1370659061_e69464866d715134436c83dfc586bdbc.jpg resize: (1080, 1632) 1370659061 -2.5558400994821655 treat image : temp/1751643446_1792829_1370659057_8b73f0cb652791a0552b618e9bc918a1.jpg resize: (1080, 1632) 1370659057 -5.388947382929643 treat image : temp/1751643446_1792829_1370659053_67b182119d53e5e2e12073d6fa609044.jpg resize: (1080, 1632) 1370659053 -4.6932296806527045 treat image : temp/1751643446_1792829_1370659049_24f957913791799a4f179bf03cbc9562.jpg resize: (1080, 1632) 1370659049 -4.741639392846896 treat image : temp/1751643446_1792829_1370658957_301c979de8cf9a26369b3be247096049.jpg resize: (1080, 1632) 1370658957 -3.6124679228729057 treat image : temp/1751643446_1792829_1370658956_2fe8bae383f98122020c315dfa54eb8a.jpg resize: (1080, 1632) 1370658956 -3.6124679228729057 treat image : temp/1751643446_1792829_1370658954_1a550a4a46e84104e27291d7706692c5.jpg resize: (1080, 1632) 1370658954 -3.6353630796403196 treat image : temp/1751643446_1792829_1370658953_b7271906d0b8de019902fd147cf61a59.jpg resize: (1080, 1632) 1370658953 -3.6353630796403196 treat image : temp/1751643446_1792829_1370658947_76aaf52c05d1a693ad1ee48d115ae375.jpg resize: (1080, 1632) 1370658947 -4.895330341385088 treat image : temp/1751643446_1792829_1370658944_dd4c55724c1d06dbcff5230d060f40e3.jpg resize: (1080, 1632) 1370658944 -4.844367993394439 treat image : temp/1751643446_1792829_1370658939_d72dbd9523b183699c70b9762678b544.jpg resize: (1080, 1632) 1370658939 -5.740150647384482 treat image : temp/1751643446_1792829_1370658935_4bfe316d8808f0f5b4769d173671a45d.jpg resize: (1080, 1632) 1370658935 -5.741898283362373 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.015558958053588867 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.014175176620483398 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017883777618408203 save missing photos in datou_result : time spend for datou_step_exec : 14.986623764038086 time spend to save output : 0.05288529396057129 total time spend for step 1 : 15.039509057998657 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.22user 3.27system 0:19.13elapsed 91%CPU (0avgtext+0avgdata 138044maxresident)k 280inputs+8528outputs (1major+257393minor)pagefaults 0swaps