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 : 2053837 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 : 5524>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/2053837/ 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.4127886295318604 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 19:37: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/1751650647_2053837_1370680669_e8d81933b8303f4dda750b4b3c2baf8b.jpg resize: (1080, 1632) 1370680669 -5.23426444575768 treat image : temp/1751650647_2053837_1370680665_ff4a25effacf26beff46aa6444b04eab.jpg resize: (1080, 1632) 1370680665 -4.001432187281019 treat image : temp/1751650647_2053837_1370680664_88aab75894d4f0a9043563583bf7418f.jpg resize: (1080, 1632) 1370680664 -5.067947103913253 treat image : temp/1751650647_2053837_1370680663_f59c67de34785a81c80b147d55799cda.jpg resize: (1080, 1632) 1370680663 -4.094086270907532 treat image : temp/1751650647_2053837_1370680652_a2f578a8d3e15497877fe15f601c387f.jpg resize: (1080, 1632) 1370680652 -5.429371404775457 treat image : temp/1751650647_2053837_1370680648_9f9d1c4dd42a98c6b2c53fffff7be2eb.jpg resize: (1080, 1632) 1370680648 -4.548037389289274 treat image : temp/1751650647_2053837_1370680634_80833e0a45302d31cf21c2c20e92cd66.jpg resize: (1080, 1632) 1370680634 -2.5557193060539154 treat image : temp/1751650647_2053837_1370680631_9802e324aed090a9551f5c42a352bf50.jpg resize: (1080, 1632) 1370680631 -0.5648857361477754 treat image : temp/1751650647_2053837_1370680629_1d47704dcd6eceb69b7a7e29dd9084ee.jpg resize: (1080, 1632) 1370680629 -1.193110645060441 treat image : temp/1751650647_2053837_1370680615_26a503566051f0df949ed667c90b5923.jpg resize: (1080, 1632) 1370680615 -4.893965551952268 treat image : temp/1751650647_2053837_1370680577_6bb5e0203829f9ec65e5de3401c08f19.jpg resize: (1080, 1632) 1370680577 -5.034045215680835 treat image : temp/1751650647_2053837_1370680576_75778203dc3e2db02a70045b2c63dbb9.jpg resize: (1080, 1632) 1370680576 -5.6044949897146905 treat image : temp/1751650647_2053837_1370680383_6eb22e9e69ff1acf6d66816491b25c8e.jpg resize: (1080, 1632) 1370680383 -5.107391049480356 treat image : temp/1751650647_2053837_1370680381_b4f198cff2cd704a95bb385b7d29eb7b.jpg resize: (1080, 1632) 1370680381 -2.690995689694472 treat image : temp/1751650647_2053837_1370680380_378845d04e1efc4e4481d7a46e28a320.jpg resize: (1080, 1632) 1370680380 -3.8422324323011092 treat image : temp/1751650647_2053837_1370680369_ef7755006a80eed3c10988b68cb09605.jpg resize: (1080, 1632) 1370680369 -5.301541385584187 treat image : temp/1751650647_2053837_1370680120_5f2c64615beb37d2f5b574a17f62b48a.jpg resize: (1080, 1632) 1370680120 -2.8065889593633915 treat image : temp/1751650647_2053837_1370680116_e4f27b88da87f72e31d3de2803b55278.jpg resize: (1080, 1632) 1370680116 -5.624001089225464 treat image : temp/1751650647_2053837_1370680113_5e740e2aa5416ed3f8612769c382c5c0.jpg resize: (1080, 1632) 1370680113 -5.445499760635187 treat image : temp/1751650647_2053837_1370680111_aad2d503ee0aac1388fe71d516073312.jpg resize: (1080, 1632) 1370680111 -5.517003738211064 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.014831781387329102 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.013768911361694336 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0159456729888916 save missing photos in datou_result : time spend for datou_step_exec : 14.634681463241577 time spend to save output : 0.04970073699951172 total time spend for step 1 : 14.684382200241089 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.73user 3.54system 0:19.93elapsed 86%CPU (0avgtext+0avgdata 139944maxresident)k 336inputs+9080outputs (3major+167759minor)pagefaults 0swaps