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 : 1625203 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 : 619>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/1625203/ 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 : 3.24108624458313 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 Thu May 22 07:27: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/1747891649_1625203_1360429343_6f626973e86e113b8caf45678cc507ea.jpg resize: (1080, 1632) 1360429343 -1.5608430356034289 treat image : temp/1747891649_1625203_1360429317_c4cafc4c138192ad5174961e65f9039c.jpg resize: (1080, 1632) 1360429317 -3.76685991200155 treat image : temp/1747891649_1625203_1360429292_2e8199d94f352bd92b8ab8a1f0f73a94.jpg resize: (1080, 1632) 1360429292 -3.893125552721257 treat image : temp/1747891649_1625203_1360428947_7abf713f132da7c5499d57ae00a4c102.jpg resize: (1080, 1632) 1360428947 -5.186419713863497 treat image : temp/1747891649_1625203_1360428906_d2ef499acc6f30103bb6f7025339e267.jpg resize: (1080, 1632) 1360428906 -4.454244967168339 treat image : temp/1747891649_1625203_1360428890_8232d4e35d5dfaef72122dbd1222ad8d.jpg resize: (1080, 1632) 1360428890 -3.3264211685442477 treat image : temp/1747891649_1625203_1360428399_cf73db57951c30159c1bf442ba2c9a03.jpg resize: (1080, 1632) 1360428399 -4.976067389249622 treat image : temp/1747891649_1625203_1360428318_59866829d2f71cf1c63b356b93fe551b.jpg resize: (1080, 1632) 1360428318 -4.343761284872481 treat image : temp/1747891649_1625203_1360428252_c59705104ca303830e353a3e189df8b7.jpg resize: (1080, 1632) 1360428252 -4.711769971891134 treat image : temp/1747891649_1625203_1360428155_bfd6651b2a31eee91d5f1dc4a248c3cc.jpg resize: (1080, 1632) 1360428155 -4.915174169546136 treat image : temp/1747891649_1625203_1360427237_b813f3fdf3bd503d3747c82f72127bfb.jpg resize: (1080, 1632) 1360427237 -4.67628235320948 treat image : temp/1747891649_1625203_1360427092_491614855974d746931e9dcb3d46997a.jpg resize: (1080, 1632) 1360427092 -4.648079410173827 treat image : temp/1747891649_1625203_1360426978_59d811917e3da2a8dd5c86920530b0bd.jpg resize: (1080, 1632) 1360426978 -3.878102249814327 treat image : temp/1747891649_1625203_1360426875_a6f35f07e4031d4a41c2739ff6c464e3.jpg resize: (1080, 1632) 1360426875 -3.918798198509679 treat image : temp/1747891649_1625203_1360426000_6d50fadeb668079590c2643753edb1c6.jpg resize: (1080, 1632) 1360426000 -2.3626661926919836 treat image : temp/1747891649_1625203_1360425942_9b50f454bde84ddf1e8c9cd7df82816c.jpg resize: (1080, 1632) 1360425942 -1.9108048244658555 treat image : temp/1747891649_1625203_1360425832_85b0508b6f39d1e4a9dbbad78eff0081.jpg resize: (1080, 1632) 1360425832 -1.5269560796962047 treat image : temp/1747891649_1625203_1360425739_8b4ea6dc3c03c0a2d7a50e692fec10f1.jpg resize: (1080, 1632) 1360425739 -5.472598860807618 treat image : temp/1747891649_1625203_1360425143_a2c22df5529e9381fdb37dd37c50d6bc.jpg resize: (1080, 1632) 1360425143 -4.494419755785295 treat image : temp/1747891649_1625203_1360425132_b28b5a86abd2e4e65b22aaa9542bc71b.jpg resize: (1080, 1632) 1360425132 -5.085476232452714 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.015665531158447266 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.11510539054870605 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2166903018951416 save missing photos in datou_result : time spend for datou_step_exec : 19.793044328689575 time spend to save output : 0.3521394729614258 total time spend for step 1 : 20.145183801651 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.89user 7.85system 0:27.36elapsed 83%CPU (0avgtext+0avgdata 139920maxresident)k 4064inputs+8176outputs (34major+245516minor)pagefaults 0swaps