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 : 3360021 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 : 1902>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/3360021/ 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.217632293701172 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 Wed Feb 5 10:42: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/1738748549_3360021_1334884672_d43c0365d2872b7b26a1b15c008f79c7.jpg resize: (1080, 1632) 1334884672 -5.982867524801782 treat image : temp/1738748549_3360021_1334884665_cab4dbc9add4ff68ee6ae96e04f6b067.jpg resize: (1080, 1632) 1334884665 -6.296478843418696 treat image : temp/1738748549_3360021_1334884662_85da1363c9cf36e5d0a3c73840617efb.jpg resize: (1080, 1632) 1334884662 -6.293396633270772 treat image : temp/1738748549_3360021_1334884619_eb08a24d07a82b6c34af13e0cd64059d.jpg resize: (1080, 1632) 1334884619 -1.2406216708429738 treat image : temp/1738748549_3360021_1334884210_5504a79e4b87e08004affb96edab552f.jpg resize: (1080, 1632) 1334884210 -6.443760951060082 treat image : temp/1738748549_3360021_1334884131_e9d85d9b8388c71b5b4a210e46d133f8.jpg resize: (1080, 1632) 1334884131 -5.209499597773686 treat image : temp/1738748549_3360021_1334884113_57168fbcdf827fb01249b79f96c27f98.jpg resize: (1080, 1632) 1334884113 -6.78297506114471 treat image : temp/1738748549_3360021_1334884111_27e9187172135d7b579ea2047232b7ab.jpg resize: (1080, 1632) 1334884111 -5.605469581933652 treat image : temp/1738748549_3360021_1334884108_5c2c4f62b235adc958f9044c34984419.jpg resize: (1080, 1632) 1334884108 -6.092537477826784 treat image : temp/1738748549_3360021_1334884105_2f207264d2ed1ad031de1e23c6540260.jpg resize: (1080, 1632) 1334884105 -6.226293945751548 treat image : temp/1738748549_3360021_1334884098_d9a1f14c4ca8d112339b764f67a097e9.jpg resize: (1080, 1632) 1334884098 -6.64514984139245 treat image : temp/1738748549_3360021_1334884096_cea6c2f2eaa6d6db4d3f2ea0e1125f1b.jpg resize: (1080, 1632) 1334884096 -6.572017925294926 treat image : temp/1738748549_3360021_1334884054_148504b342aafe7fac26ddfbfb43cada.jpg resize: (1080, 1632) 1334884054 -6.33284989461604 treat image : temp/1738748549_3360021_1334883968_07c358a0560393eb3cbb6a4c9ca152d1.jpg resize: (1080, 1632) 1334883968 -5.403455621785802 treat image : temp/1738748549_3360021_1334883653_1b6d984479a5872d3768fe8061567260.jpg resize: (1080, 1632) 1334883653 -5.369516799795891 treat image : temp/1738748549_3360021_1334883589_7027a21aaab355be4bcebe0a5f4804e6.jpg resize: (1080, 1632) 1334883589 -2.2051608392244564 treat image : temp/1738748549_3360021_1334883560_d0a35aac14f9812a8b822aef44ee909d.jpg resize: (1080, 1632) 1334883560 -1.5060775868943945 treat image : temp/1738748549_3360021_1334883476_84b1f17fb778c751f11c360bc2185210.jpg resize: (1080, 1632) 1334883476 -1.5349860938528521 treat image : temp/1738748549_3360021_1334883343_c67a89ac45f13890aeb8f47135f377d9.jpg resize: (1080, 1632) 1334883343 -5.508383257487487 treat image : temp/1738748549_3360021_1334883236_93947e2d8741b8c59d1a6ae344a8462d.jpg resize: (1080, 1632) 1334883236 -4.125712141693533 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.03516030311584473 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.013418197631835938 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014143943786621094 save missing photos in datou_result : time spend for datou_step_exec : 13.310672998428345 time spend to save output : 0.0674905776977539 total time spend for step 1 : 13.378163576126099 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.38user 1.38system 0:18.71elapsed 84%CPU (0avgtext+0avgdata 141448maxresident)k 624inputs+11352outputs (10major+118708minor)pagefaults 0swaps