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 : 1864444 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 : 3912>100 please execute split_portfolio.py -i 24702204 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3248096'] with mtr_portfolio_ids : ['24702204'] and first list_photo_ids : [] new path : /proc/1864444/ 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.3557584285736084 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 Tue Jul 8 11:02: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/1751965347_1864444_1371177282_833ebb9df53740dacb425a9e1b582bfe.jpg resize: (1080, 1632) 1371177282 -2.914918736470383 treat image : temp/1751965347_1864444_1371177155_e3707b9e885c8058ff76e3c6611f2f27.jpg resize: (1080, 1632) 1371177155 -2.9502048152101734 treat image : temp/1751965347_1864444_1371177061_446e2f2427e276e4ebdf6f7752f73c6f.jpg resize: (1080, 1632) 1371177061 -3.387562639150333 treat image : temp/1751965347_1864444_1371176967_5805485fc6bc65f35bd61e9b45d5b9e7.jpg resize: (1080, 1632) 1371176967 -3.3609522906769276 treat image : temp/1751965347_1864444_1371176856_c9d918a0b5db0774085d70dfb2913540.jpg resize: (1080, 1632) 1371176856 -4.231615545771527 treat image : temp/1751965347_1864444_1371176156_a174efe253aacc964c81525b7ae264c0.jpg resize: (1080, 1632) 1371176156 -4.792599666697784 treat image : temp/1751965347_1864444_1371176034_5c782ff593d35c13ec26cef7023b2d94.jpg resize: (1080, 1632) 1371176034 -3.7701916164577307 treat image : temp/1751965347_1864444_1371175907_1afaacc7c0554922a8833bdf79cab9ab.jpg resize: (1080, 1632) 1371175907 -4.836390463901481 treat image : temp/1751965347_1864444_1371175769_32515e232c8f3aeeb7a83e6eb18332f8.jpg resize: (1080, 1632) 1371175769 -4.343916649190936 treat image : temp/1751965347_1864444_1371175639_42b391d974fcc361352d766319d07d79.jpg resize: (1080, 1632) 1371175639 -4.045728360818027 treat image : temp/1751965347_1864444_1371175510_06b4d2f69e981cf48003c2e53679f2a5.jpg resize: (1080, 1632) 1371175510 -4.051175040253279 treat image : temp/1751965347_1864444_1371150562_e902f4d769c92d535bc16fee49c0b1e3.jpg resize: (1080, 1632) 1371150562 -3.7485219582571694 treat image : temp/1751965347_1864444_1371150550_e3435e2981b9ba17c1ba70ca3fb871ce.jpg resize: (1080, 1632) 1371150550 -3.8530928505742184 treat image : temp/1751965347_1864444_1371150546_8a8c4590b6e9b2f484fecc9f35595ba2.jpg resize: (1080, 1632) 1371150546 -3.8388817505766704 treat image : temp/1751965347_1864444_1371150542_4af35178ed75d62d240f0b153643c36e.jpg resize: (1080, 1632) 1371150542 -3.8429945538652506 treat image : temp/1751965347_1864444_1371150540_eb57d6f6d97439e3506e84516f8bd4a8.jpg resize: (1080, 1632) 1371150540 -3.830741401705768 treat image : temp/1751965347_1864444_1371150535_96ab77d90019e8077631da2c3be649b1.jpg resize: (1080, 1632) 1371150535 -3.8353440260930554 treat image : temp/1751965347_1864444_1371150530_3c20c7ed74c15159277cba388c181c7f.jpg resize: (1080, 1632) 1371150530 -3.8277926230801227 treat image : temp/1751965347_1864444_1371150518_1377507b768ad91c92952dae5a6fbdf1.jpg resize: (1080, 1632) 1371150518 -3.8162139288875285 treat image : temp/1751965347_1864444_1371150513_f1a649c8452397c1d5be95aa51d48f6a.jpg resize: (1080, 1632) 1371150513 -3.817789897886268 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.012799978256225586 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.012145519256591797 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016796588897705078 save missing photos in datou_result : time spend for datou_step_exec : 14.848161697387695 time spend to save output : 0.046308040618896484 total time spend for step 1 : 14.894469738006592 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.44user 2.68system 0:19.73elapsed 86%CPU (0avgtext+0avgdata 140472maxresident)k 40inputs+7896outputs (1major+263863minor)pagefaults 0swaps