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 : 2412446 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 : 7126>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/2412446/ 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.219759464263916 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 22:47:31 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/1751662048_2412446_1370707084_0937b81ef57d50c3f18300e5243d28fe.jpg resize: (1080, 1632) 1370707084 -4.883651105200795 treat image : temp/1751662048_2412446_1370707083_6837151a5534d86320c098e821cb859b.jpg resize: (1080, 1632) 1370707083 -4.883651105200795 treat image : temp/1751662048_2412446_1370707081_44a5536c761ee6a3e544310d6ddb508d.jpg resize: (1080, 1632) 1370707081 -3.2610971976272145 treat image : temp/1751662048_2412446_1370707080_ef4335e070ab5d0ad75cf3f4266cd0fb.jpg resize: (1080, 1632) 1370707080 -3.2610971976272145 treat image : temp/1751662048_2412446_1370707072_4fc7e0d7cbdc688b82ebdaf247ce025b.jpg resize: (1080, 1632) 1370707072 -4.473910257292606 treat image : temp/1751662048_2412446_1370707071_93eb7f7901f36c131299726f7bb9ba02.jpg resize: (1080, 1632) 1370707071 -4.473910257292606 treat image : temp/1751662048_2412446_1370707059_c8e28b4aab993a685351bcd7d04304c3.jpg resize: (1080, 1632) 1370707059 -4.789873145523561 treat image : temp/1751662048_2412446_1370707058_8d96e2dbc1512ec951d90c2f752c3216.jpg resize: (1080, 1632) 1370707058 -4.789873145523561 treat image : temp/1751662048_2412446_1370707054_7c84f0256b1b62c57068c6de396ef939.jpg resize: (1080, 1632) 1370707054 -5.089244414509516 treat image : temp/1751662048_2412446_1370707053_f18978fee1359ce65163faca6c185f01.jpg resize: (1080, 1632) 1370707053 -5.089244414509516 treat image : temp/1751662048_2412446_1370707051_0aad11829108931e4956341f36cf116d.jpg resize: (1080, 1632) 1370707051 -3.99510990663742 treat image : temp/1751662048_2412446_1370707050_f0fbbffdaac788d3c40ce0efedaf485e.jpg resize: (1080, 1632) 1370707050 -3.99510990663742 treat image : temp/1751662048_2412446_1370707041_648eda0396a22daa6b529c6b22cd1847.jpg resize: (1080, 1632) 1370707041 -5.620018420164116 treat image : temp/1751662048_2412446_1370707039_310b48a1660d2209fd998c4171e94760.jpg resize: (1080, 1632) 1370707039 -5.573790908514983 treat image : temp/1751662048_2412446_1370707035_944c56e8685042ee05fc79778e1e54cc.jpg resize: (1080, 1632) 1370707035 -5.631014951158425 treat image : temp/1751662048_2412446_1370707033_c99d1c37c1fb46e76942f2086b2c6af3.jpg resize: (1080, 1632) 1370707033 -5.617009317792917 treat image : temp/1751662048_2412446_1370707032_811546f13a35586fb011a0866ad1cf31.jpg resize: (1080, 1632) 1370707032 -5.618311423285391 treat image : temp/1751662048_2412446_1370707030_63742d028c79038e570bbbd3c9141259.jpg resize: (1080, 1632) 1370707030 -5.632526141761363 treat image : temp/1751662048_2412446_1370707022_1ac7fa4165dc7fc2ccc74ae39d043949.jpg resize: (1080, 1632) 1370707022 -3.1885513974684216 treat image : temp/1751662048_2412446_1370707019_dc0492613ab138b763f371b89d6a499c.jpg resize: (1080, 1632) 1370707019 -3.1637854666597587 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.012822628021240234 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.012131214141845703 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01874399185180664 save missing photos in datou_result : time spend for datou_step_exec : 16.098796367645264 time spend to save output : 0.0481414794921875 total time spend for step 1 : 16.14693784713745 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.13user 4.67system 0:21.87elapsed 86%CPU (0avgtext+0avgdata 138180maxresident)k 120inputs+9200outputs (24major+257349minor)pagefaults 0swaps