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 : 3752060 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 : 2691>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3752060/ 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.4367105960845947 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 May 21 18: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/1747844246_3752060_1360095651_fea080379c3fc3f04ef6b469e4bfb014.jpg resize: (1080, 1632) 1360095651 -1.6525431312642418 treat image : temp/1747844246_3752060_1360095648_dd9b4b8da1c694097c26aa76719d25e7.jpg resize: (1080, 1632) 1360095648 -4.225147169918564 treat image : temp/1747844246_3752060_1360095645_a95ddfbf72999151253ce81b3a264614.jpg resize: (1080, 1632) 1360095645 -4.872187888106431 treat image : temp/1747844246_3752060_1360095639_b289a391b06494ea08f8bd0126a69fe7.jpg resize: (1080, 1632) 1360095639 -5.716899119324272 treat image : temp/1747844246_3752060_1360095633_b9768e7720683473de347ca5b7d46a34.jpg resize: (1080, 1632) 1360095633 -6.430830681444155 treat image : temp/1747844246_3752060_1360095629_cfcfc5ea190d26c3bf0a0f2c02bbdc43.jpg resize: (1080, 1632) 1360095629 -4.551327613374103 treat image : temp/1747844246_3752060_1360095604_4259c1d94bb3559319eb86a7c1ef642d.jpg resize: (1080, 1632) 1360095604 -5.556024104494662 treat image : temp/1747844246_3752060_1360095598_3c9c5442140112816a46a90114f0e0c4.jpg resize: (1080, 1632) 1360095598 -5.618504491505706 treat image : temp/1747844246_3752060_1360095594_b8521928c7d54930e18239566a062dbf.jpg resize: (1080, 1632) 1360095594 -5.963032362522199 treat image : temp/1747844246_3752060_1360095467_b941663aa368263a13a685c59ee27d79.jpg resize: (1080, 1632) 1360095467 -5.936476213721395 treat image : temp/1747844246_3752060_1360095464_c80cc871791733327559a54182755190.jpg resize: (1080, 1632) 1360095464 -6.071115678270061 treat image : temp/1747844246_3752060_1360095460_f5ab3afb99aa3b025635d11ba03222af.jpg resize: (1080, 1632) 1360095460 -6.351783016805982 treat image : temp/1747844246_3752060_1360095445_3ebae86c7dae84a0d4332b8f99fd8c6f.jpg resize: (1080, 1632) 1360095445 -5.287290285322296 treat image : temp/1747844246_3752060_1360095434_a53d62a535d775b7579265cb4661ff73.jpg resize: (1080, 1632) 1360095434 -3.4631411090640998 treat image : temp/1747844246_3752060_1360095265_518f68c8b965c17b2944220da416f121.jpg resize: (1080, 1632) 1360095265 -4.0999488098447046 treat image : temp/1747844246_3752060_1360095261_419445a3b25f4790a3a6c5fd8c3c9d57.jpg resize: (1080, 1632) 1360095261 -4.548758509977046 treat image : temp/1747844246_3752060_1360095245_f0863690b7e7c47dfb8691ea410a7d4f.jpg resize: (1080, 1632) 1360095245 -5.968580132232234 treat image : temp/1747844246_3752060_1360095190_e517bf1c9a3c1bf82026220aa2d69e22.jpg resize: (1080, 1632) 1360095190 -4.014366472900752 treat image : temp/1747844246_3752060_1360095159_52f7e67a4740c212eb6d7d5b263b63e8.jpg resize: (1080, 1632) 1360095159 -5.451920673366519 treat image : temp/1747844246_3752060_1360094167_b5abef53659afe1d7933e2148b9dac60.jpg resize: (1080, 1632) 1360094167 -5.576132294791136 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.012654304504394531 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.013122797012329102 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0145111083984375 save missing photos in datou_result : time spend for datou_step_exec : 23.39820623397827 time spend to save output : 0.046311140060424805 total time spend for step 1 : 23.444517374038696 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.41user 11.46system 0:27.50elapsed 94%CPU (0avgtext+0avgdata 137888maxresident)k 304inputs+10416outputs (17major+259336minor)pagefaults 0swaps