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 : 3054393 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 : 2976>100 please execute split_portfolio.py -i 21962613 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2714916'] with mtr_portfolio_ids : ['21962613'] and first list_photo_ids : [] new path : /proc/3054393/ 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.252751111984253 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 Apr 2 19:32:31 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/1743615148_3054393_1349581208_39264f3ae4510826fa55c154929e1951.jpg resize: (1080, 1632) 1349581208 -4.5847047191818575 treat image : temp/1743615148_3054393_1349581200_377540fc07e6f718a616e4fbf1623276.jpg resize: (1080, 1632) 1349581200 -5.039169247025289 treat image : temp/1743615148_3054393_1349581189_9c625dfede861c3bfc03b366e8d75ecb.jpg resize: (1080, 1632) 1349581189 -3.47935407499746 treat image : temp/1743615148_3054393_1349581175_f62d6d08cec4b61babbfd3ce1a98317d.jpg resize: (1080, 1632) 1349581175 -1.4667389801612003 treat image : temp/1743615148_3054393_1349581135_ba71db73e5726fe8a83976535f7f76ed.jpg resize: (1080, 1632) 1349581135 -5.232292448627997 treat image : temp/1743615148_3054393_1349581105_08c1bc481db7d8996828ca6e71c8548d.jpg resize: (1080, 1632) 1349581105 -5.1992519848971845 treat image : temp/1743615148_3054393_1349581100_ec6f1a9df781c1d42c22e55b9f32a927.jpg resize: (1080, 1632) 1349581100 -5.613084657155892 treat image : temp/1743615148_3054393_1349581090_41ff0fa6e04fd3504c6b987334f369c8.jpg resize: (1080, 1632) 1349581090 -5.509335056913776 treat image : temp/1743615148_3054393_1349581082_5f0135dc23ee9a8d593bbadc8106bde6.jpg resize: (1080, 1632) 1349581082 -3.7488606697256275 treat image : temp/1743615148_3054393_1349581078_949841992442f317f3a71fb7c0ee9c10.jpg resize: (1080, 1632) 1349581078 -4.928258401403518 treat image : temp/1743615148_3054393_1349581011_329cd0449dbd883866a65c353a5cc748.jpg resize: (1080, 1632) 1349581011 -1.92154794161806 treat image : temp/1743615148_3054393_1349581007_167b8387a2d5cf0d2dd3b0a00bbcba13.jpg resize: (1080, 1632) 1349581007 -2.73595419223341 treat image : temp/1743615148_3054393_1349581004_8b97d170b7f19d1aadca985ebc3a41a7.jpg resize: (1080, 1632) 1349581004 -5.946717644409718 treat image : temp/1743615148_3054393_1349581001_c7257508ea73d8397c8da162ec54182e.jpg resize: (1080, 1632) 1349581001 -5.954666875169138 treat image : temp/1743615148_3054393_1349580998_57755dbdfa6886e7ae02736771ddff73.jpg resize: (1080, 1632) 1349580998 -3.6721992824381005 treat image : temp/1743615148_3054393_1349485437_90b763872c180a181835c4de521e3759.jpg resize: (1080, 1632) 1349485437 -2.2265377021089137 treat image : temp/1743615148_3054393_1349485429_4cc366a1b5ae6f1a7406faee95e8d05f.jpg resize: (1080, 1632) 1349485429 -1.0842496949747127 treat image : temp/1743615148_3054393_1349485423_02700baebf9a62f6b3f054d2b4974efb.jpg resize: (1080, 1632) 1349485423 -3.163862958080377 treat image : temp/1743615148_3054393_1349485419_0403cd1ae0205fc37f2e5b45e6d210fd.jpg resize: (1080, 1632) 1349485419 -2.5552957189973178 treat image : temp/1743615148_3054393_1349485413_4bafa1323fd5b34634790ff59d3f3f24.jpg resize: (1080, 1632) 1349485413 -2.0428726414748253 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.015467643737792969 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.015002965927124023 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01797318458557129 save missing photos in datou_result : time spend for datou_step_exec : 17.547146320343018 time spend to save output : 0.05324745178222656 total time spend for step 1 : 17.600393772125244 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.69user 5.28system 0:22.59elapsed 88%CPU (0avgtext+0avgdata 136976maxresident)k 4416inputs+8504outputs (48major+245213minor)pagefaults 0swaps