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 : 1577981 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 : 1058>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/1577981/ 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 : 5.596654176712036 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 Mon May 12 09:47:34 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/1747036048_1577981_1357611656_5920c4b3760e145bbd5728303aa0081c.jpg resize: (1080, 1632) 1357611656 -2.9761378810033685 treat image : temp/1747036048_1577981_1357611653_65d9acfe727f55c172ce12eeaf1b2c70.jpg resize: (1080, 1632) 1357611653 -2.68753150500325 treat image : temp/1747036048_1577981_1357611651_15a3b5325666f9d0c2f03ff3fa5315ea.jpg resize: (1080, 1632) 1357611651 -4.840507291106824 treat image : temp/1747036048_1577981_1357611649_9e4e7c4d9a22e8d5a7bed89be82868cc.jpg resize: (1080, 1632) 1357611649 -5.905209302788172 treat image : temp/1747036048_1577981_1357611648_bd2dcbb9cc80fdc8861c991d39aebb49.jpg resize: (1080, 1632) 1357611648 -4.888150787486829 treat image : temp/1747036048_1577981_1357611594_be3a4787906f13651fb888f63ebd969e.jpg resize: (1080, 1632) 1357611594 -1.3255148220889152 treat image : temp/1747036048_1577981_1357611401_21a987c1ab49a0853b29cd88e5b2d0b4.jpg resize: (1080, 1632) 1357611401 -5.748435542176581 treat image : temp/1747036048_1577981_1357611388_42dc5dac377931e4c092caafdb150e1b.jpg resize: (1080, 1632) 1357611388 -5.702315562701867 treat image : temp/1747036048_1577981_1357611378_e26da21c110c274dcea5b8cd3830bccf.jpg resize: (1080, 1632) 1357611378 -5.625394396300527 treat image : temp/1747036048_1577981_1357611374_251d2202c1b2b1d951fd3d6d44e34e96.jpg resize: (1080, 1632) 1357611374 -2.0385172037114345 treat image : temp/1747036048_1577981_1357611343_a077cc15d23e9cb140db595835e69b3f.jpg resize: (1080, 1632) 1357611343 -6.173139734696643 treat image : temp/1747036048_1577981_1357611340_2916babfb5bb9995c0b461d5c8b711a5.jpg resize: (1080, 1632) 1357611340 -6.240115663875889 treat image : temp/1747036048_1577981_1357611338_ae2ba19040fc4c25db3d83b1b118b45a.jpg resize: (1080, 1632) 1357611338 -6.020295471469572 treat image : temp/1747036048_1577981_1357611336_f8f0b6de191d22fb0ff9fbdc79e05733.jpg resize: (1080, 1632) 1357611336 -3.955637315203876 treat image : temp/1747036048_1577981_1357598061_05c7c2f296ee7b055c29c51712854fe7.jpg resize: (1080, 1632) 1357598061 -5.204062635959773 treat image : temp/1747036048_1577981_1357598059_63156f5dd9b0005727773ce1a7dbb4d3.jpg resize: (1080, 1632) 1357598059 -5.775987308878912 treat image : temp/1747036048_1577981_1357597951_1ce13f206c210eeb35d726d175601944.jpg resize: (1080, 1632) 1357597951 -6.131092589022046 treat image : temp/1747036048_1577981_1357597946_5699ee4fc5781676f055e2dffffd4348.jpg resize: (1080, 1632) 1357597946 -5.943499210143804 treat image : temp/1747036048_1577981_1357597925_835af6fef06342e07607a6729a01c48b.jpg resize: (1080, 1632) 1357597925 -1.9940055597793291 treat image : temp/1747036048_1577981_1357597924_2ad61395651f15dec3b66038246ecfe9.jpg resize: (1080, 1632) 1357597924 -3.4585671113342213 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.013690948486328125 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.012832164764404297 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015950441360473633 save missing photos in datou_result : time spend for datou_step_exec : 15.796715497970581 time spend to save output : 0.04782986640930176 total time spend for step 1 : 15.844545364379883 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.34user 4.00system 0:24.78elapsed 74%CPU (0avgtext+0avgdata 140812maxresident)k 144inputs+9928outputs (1major+260196minor)pagefaults 0swaps