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 : 3425405 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 : 348>100 please execute split_portfolio.py -i 21570233 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2678697'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/3425405/ 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.1865577697753906 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 Mar 21 12:22:30 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/1742556148_3425405_1345974307_3444cbb878e9903fc259a791c468d5c3.jpg resize: (1080, 1632) 1345974307 -3.670632018013429 treat image : temp/1742556148_3425405_1345974302_26d55b0c49044decc3a9a12462f2f228.jpg resize: (1080, 1632) 1345974302 -2.302159345479697 treat image : temp/1742556148_3425405_1345974298_b1e6dbb0522c5aaeef8830c535194328.jpg resize: (1080, 1632) 1345974298 -3.6459187159533673 treat image : temp/1742556148_3425405_1345974295_fd1e23ba9c97f0d731a3238b22072077.jpg resize: (1080, 1632) 1345974295 -3.9989766465299357 treat image : temp/1742556148_3425405_1345974291_d3e1c91b582e28881eb3f1fa3b4de5b0.jpg resize: (1080, 1632) 1345974291 -6.777562966051186 treat image : temp/1742556148_3425405_1345974288_598755fc4d4e74cac8edda9ad5520f91.jpg resize: (1080, 1632) 1345974288 -6.218539865613105 treat image : temp/1742556148_3425405_1345974281_0177dcd4d85e3a9ae19006b5a0a0be6b.jpg resize: (1080, 1632) 1345974281 -6.105014051189209 treat image : temp/1742556148_3425405_1345974278_68686d3abc97343749328f250b1a93be.jpg resize: (1080, 1632) 1345974278 -6.529750349519554 treat image : temp/1742556148_3425405_1345974275_77d53fc90da17e7fa69acc47dce7b737.jpg resize: (1080, 1632) 1345974275 -2.2469834229727073 treat image : temp/1742556148_3425405_1345974267_be43823a8069bc490b113f8ff065061a.jpg resize: (1080, 1632) 1345974267 -4.516040174972104 treat image : temp/1742556148_3425405_1345974261_4c7cbc540c64efc456f125fa1e2465ba.jpg resize: (1080, 1632) 1345974261 -4.63168425967123 treat image : temp/1742556148_3425405_1345974258_9e81c1b4df457749482f240d4b7848ef.jpg resize: (1080, 1632) 1345974258 -4.853820807243144 treat image : temp/1742556148_3425405_1345974086_92a47f0b5f8b1081be5ed9be9e3734b3.jpg resize: (1080, 1632) 1345974086 -4.463750145194451 treat image : temp/1742556148_3425405_1345974084_42a280765c005e26ae3ec5fffd25741c.jpg resize: (1080, 1632) 1345974084 -5.9603599692653555 treat image : temp/1742556148_3425405_1345974079_d3d60fe6bef508e587f9eb51f3bd5db7.jpg resize: (1080, 1632) 1345974079 -6.283182890418474 treat image : temp/1742556148_3425405_1345974074_b21e4f8e9f6f7968b9af5b95e35a7da7.jpg resize: (1080, 1632) 1345974074 -5.274034883923358 treat image : temp/1742556148_3425405_1345974010_01749425c4db48e410d407780eab6646.jpg resize: (1080, 1632) 1345974010 -6.361104648323801 treat image : temp/1742556148_3425405_1345974004_c14caff546e6f046d63ff0737e32643d.jpg resize: (1080, 1632) 1345974004 -6.302859972077683 treat image : temp/1742556148_3425405_1345973990_14d936e2af0a1d61be8f34ca57d676b5.jpg resize: (1080, 1632) 1345973990 -5.421673870014415 treat image : temp/1742556148_3425405_1345973983_69a821897cb95a80ff7100db92462f25.jpg resize: (1080, 1632) 1345973983 -2.3654924033370137 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.013529777526855469 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.011941909790039062 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014083623886108398 save missing photos in datou_result : time spend for datou_step_exec : 18.63081979751587 time spend to save output : 0.04492664337158203 total time spend for step 1 : 18.67574644088745 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.42user 6.66system 0:24.06elapsed 87%CPU (0avgtext+0avgdata 138328maxresident)k 8984inputs+11248outputs (17major+257073minor)pagefaults 0swaps