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 : 1559636 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 updating current state to 1 we have a portfolio with more photos than limit : 542>100 please execute split_portfolio.py -i 26625914 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3676285'] with mtr_portfolio_ids : ['26625914'] and first list_photo_ids : [] new path : /proc/1559636/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 2.0146777629852295 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 Sep 8 10:17:29 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/1757319447_1559636_1382495922_f4ca9c11fb65ebe61461ba2cac08d27d_14991118.jpg resize: (1080, 1632) 1382495922 -4.551582726025004 treat image : temp/1757319447_1559636_1382495921_917c9e41d54492d111fc8231fececa6f_86601760.jpg resize: (1080, 1632) 1382495921 -4.7284575081040465 treat image : temp/1757319447_1559636_1382495920_1632187e3ec07f1eef3dbbbbab50a40a_72836234.jpg resize: (1080, 1632) 1382495920 -4.621321225602226 treat image : temp/1757319447_1559636_1382495919_af0d23f7891481ed8a677a96f0504a22_5907818.jpg resize: (1080, 1632) 1382495919 -1.9420983721273728 treat image : temp/1757319447_1559636_1382495846_2b79bd6daac03f02512f7f8c32a2df65_58202337.jpg resize: (1080, 1632) 1382495846 -5.6896973162398385 treat image : temp/1757319447_1559636_1382495844_016a1d9d8cb6fa323a790cdef4acf76b_87243155.jpg resize: (1080, 1632) 1382495844 -4.447757353109096 treat image : temp/1757319447_1559636_1382495842_b99a72fc85a79e16c13f9b801abf005c_90889335.jpg resize: (1080, 1632) 1382495842 -2.080095043394046 treat image : temp/1757319447_1559636_1382495840_6fa31d4574840b4e4f023386f320cd37_36103318.jpg resize: (1080, 1632) 1382495840 -3.7232129506597227 treat image : temp/1757319447_1559636_1382495838_8ca5418431252e18cd0fbf1a7affd298_50864453.jpg resize: (1080, 1632) 1382495838 -2.290706436458923 treat image : temp/1757319447_1559636_1382495836_af157a5f8abe28c1403e26e8196564bc_48391701.jpg resize: (1080, 1632) 1382495836 -4.7819410184006665 treat image : temp/1757319447_1559636_1382495793_87af75571b98964d94cecdd5cfe047de_45620605.jpg resize: (1080, 1632) 1382495793 -2.318075870626954 treat image : temp/1757319447_1559636_1382495792_42d03da97176c26a796d78e026f9ec41_33210483.jpg resize: (1080, 1632) 1382495792 -5.00460240931767 treat image : temp/1757319447_1559636_1382495790_1b15ca02531227eb26a0461711005a96_42913507.jpg resize: (1080, 1632) 1382495790 -5.412215178972674 treat image : temp/1757319447_1559636_1382495783_5ae1fdfac90faee9cac1cae7aa7ad08d_50860463.jpg resize: (1080, 1632) 1382495783 -1.1983786079408703 treat image : temp/1757319447_1559636_1382495781_9d9c1681c40b4036d63e9e74c63bf95a_94472391.jpg resize: (1080, 1632) 1382495781 -5.083895801231384 treat image : temp/1757319447_1559636_1382495780_722a4f81d3cbaccc00589aac007bdbef_39775767.jpg resize: (1080, 1632) 1382495780 -5.405291142793988 treat image : temp/1757319447_1559636_1382495779_9daaed05f357443ca0cae0ad2c423dc3_9826116.jpg resize: (1080, 1632) 1382495779 -5.4253185495512914 treat image : temp/1757319447_1559636_1382495778_0226a3d65396930c7ba5ecc1c1e0f914_81265245.jpg resize: (1080, 1632) 1382495778 -5.81965996770487 treat image : temp/1757319447_1559636_1382495777_6ba5edc9b70440416f72dacb4c290606_11479342.jpg resize: (1080, 1632) 1382495777 -5.793484069009946 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 : 19 time used for this insertion : 0.01576089859008789 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.011900186538696289 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.0170285701751709 save missing photos in datou_result : time spend for datou_step_exec : 16.15595555305481 time spend to save output : 0.16274142265319824 total time spend for step 1 : 16.318696975708008 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 19 set_done_treatment 15.03user 4.10system 0:20.76elapsed 92%CPU (0avgtext+0avgdata 139372maxresident)k 3328inputs+8584outputs (29major+248365minor)pagefaults 0swaps