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 : 3626082 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 : 2303>100 please execute split_portfolio.py -i 21715706 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2691079'] with mtr_portfolio_ids : ['21715706'] and first list_photo_ids : [] new path : /proc/3626082/ 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 : 3.1492202281951904 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 Mar 26 16:52: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/1743004348_3626082_1347536430_22e217c486024d7e47c62b9e96ef67ee.jpg resize: (1080, 1632) 1347536430 -2.2072142247057687 treat image : temp/1743004348_3626082_1347536428_3b11f4c439bb1658c235a6b5ccbb49a9.jpg resize: (1080, 1632) 1347536428 -2.8482100015377254 treat image : temp/1743004348_3626082_1347536426_288524cc62fa66e1a3667758d7676dfc.jpg resize: (1080, 1632) 1347536426 -5.874751157917824 treat image : temp/1743004348_3626082_1347536421_131695f02b28702e387e31f62d21abbe.jpg resize: (1080, 1632) 1347536421 -5.920164275987617 treat image : temp/1743004348_3626082_1347457448_85e9a14a847ff711650a3457911c3e04.jpg resize: (1080, 1632) 1347457448 -5.860521178272145 treat image : temp/1743004348_3626082_1347457442_e2d661f97dca171b188e539205beecb6.jpg resize: (1080, 1632) 1347457442 -5.759684788045963 treat image : temp/1743004348_3626082_1347457400_04629998d5c18c3fe5e2293e00d8554a.jpg resize: (1080, 1632) 1347457400 -3.1777402907485977 treat image : temp/1743004348_3626082_1347457396_dbc1ac5cb1361b8bec898df459d1a14f.jpg resize: (1080, 1632) 1347457396 -3.278757254657427 treat image : temp/1743004348_3626082_1347457391_372a8e5b59f888004bbce3e763ce87fe.jpg resize: (1080, 1632) 1347457391 -5.431126510522511 treat image : temp/1743004348_3626082_1347457357_bc7a283f2c5afac67dab1feb42a040d2.jpg resize: (1080, 1632) 1347457357 -1.6039327484145793 treat image : temp/1743004348_3626082_1347457353_a15a2599498641a5965b7db1ebbd6dfc.jpg resize: (1080, 1632) 1347457353 -2.655072087324189 treat image : temp/1743004348_3626082_1347457328_3e6cde33e77adfaedd0833564fa9037d.jpg resize: (1080, 1632) 1347457328 -4.5723944650588475 treat image : temp/1743004348_3626082_1347457324_63c8933c8feffef4907b5b357a46436f.jpg resize: (1080, 1632) 1347457324 -5.382264832307756 treat image : temp/1743004348_3626082_1347457319_896b8a5f2bb83de827eaba0607c6bfb2.jpg resize: (1080, 1632) 1347457319 -5.857150183186174 treat image : temp/1743004348_3626082_1347457313_22b4d778ddb537e6668feb6117f6d628.jpg resize: (1080, 1632) 1347457313 -5.11348356883246 treat image : temp/1743004348_3626082_1347457308_9e9ced77c9a07bc5c853386299b7c495.jpg resize: (1080, 1632) 1347457308 -5.303555572894443 treat image : temp/1743004348_3626082_1347457303_4ad2f7d3ae5dc7dea8ce2c23d179d4a2.jpg resize: (1080, 1632) 1347457303 -2.170074689964924 treat image : temp/1743004348_3626082_1347457285_e2738d9db822abac0fc41b9e1137f848.jpg resize: (1080, 1632) 1347457285 -5.7491485927872334 treat image : temp/1743004348_3626082_1347457280_aa5851c1c34a8521fceefa7e5eb9ebf2.jpg resize: (1080, 1632) 1347457280 -5.4193755154614385 treat image : temp/1743004348_3626082_1347457274_56dcab4a53ba70e9cd4792c923e04adf.jpg resize: (1080, 1632) 1347457274 -5.852729158622396 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.015099048614501953 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.012637615203857422 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014830350875854492 save missing photos in datou_result : time spend for datou_step_exec : 15.504759788513184 time spend to save output : 0.09991145133972168 total time spend for step 1 : 15.604671239852905 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.79user 3.04system 0:21.60elapsed 82%CPU (0avgtext+0avgdata 137148maxresident)k 8584inputs+9448outputs (80major+257169minor)pagefaults 0swaps