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 : 1872647 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 : 1543>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/1872647/ 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.1392247676849365 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 Tue May 20 10:57: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/1747731449_1872647_1359793581_0d24be9ac2073074c991e71321d1ea63.jpg resize: (1080, 1632) 1359793581 -1.4835312423444598 treat image : temp/1747731449_1872647_1359793577_8f6d9bceacb8cdfa45122c1b40ab94f6.jpg resize: (1080, 1632) 1359793577 -1.6885377348333042 treat image : temp/1747731449_1872647_1359793574_d08cbe977085cf0f4f179af7acbd0e95.jpg resize: (1080, 1632) 1359793574 -0.49821669628404414 treat image : temp/1747731449_1872647_1359793568_aa7d97bc10a613579123afba292eb5ed.jpg resize: (1080, 1632) 1359793568 -5.4353790543871945 treat image : temp/1747731449_1872647_1359793533_92d31582dfc94b2ced8e930ceef37337.jpg resize: (1080, 1632) 1359793533 -4.911682062236745 treat image : temp/1747731449_1872647_1359793530_a60110f28abdb430db0baab1294428cc.jpg resize: (1080, 1632) 1359793530 -3.6572694435581763 treat image : temp/1747731449_1872647_1359793526_085119623783bde578f064624a5da6f5.jpg resize: (1080, 1632) 1359793526 -4.5209249954689446 treat image : temp/1747731449_1872647_1359793523_313ccd745a762f7f0d54eee690c442a0.jpg resize: (1080, 1632) 1359793523 -3.3448592320727397 treat image : temp/1747731449_1872647_1359793517_4dfca252d51cab33785580dd0042e7bb.jpg resize: (1080, 1632) 1359793517 -3.213636706655806 treat image : temp/1747731449_1872647_1359793514_81b05bd1215e29a011cafd75f209c9f3.jpg resize: (1080, 1632) 1359793514 -4.97329748589525 treat image : temp/1747731449_1872647_1359793494_4c83fd2536555d4fb670ed5f6aeb2512.jpg resize: (1080, 1632) 1359793494 -1.3782021815325807 treat image : temp/1747731449_1872647_1359793489_99ba251f2d8dfc220a0d0cae776c02fd.jpg resize: (1080, 1632) 1359793489 -1.2580772183145306 treat image : temp/1747731449_1872647_1359793478_ca84cf8712d903c0760f0e9c854d1380.jpg resize: (1080, 1632) 1359793478 -5.474275461607945 treat image : temp/1747731449_1872647_1359793473_b55bfab48e5ebf09dbbe4ffa1f35188f.jpg resize: (1080, 1632) 1359793473 -5.534905038089917 treat image : temp/1747731449_1872647_1359793453_185d562c6dac1cfd8b967f5e0e13d268.jpg resize: (1080, 1632) 1359793453 -4.489460852221273 treat image : temp/1747731449_1872647_1359793450_22568f8972f891838350a42107ee402f.jpg resize: (1080, 1632) 1359793450 -4.860067829547742 treat image : temp/1747731449_1872647_1359793447_cf8e20620cd7902527b3152e8296838e.jpg resize: (1080, 1632) 1359793447 -5.444537720860468 treat image : temp/1747731449_1872647_1359793443_59c16deec6987897efbce8ecc07acea9.jpg resize: (1080, 1632) 1359793443 -5.057407600530747 treat image : temp/1747731449_1872647_1359793439_ecee6fa399338429989d012fbc347429.jpg resize: (1080, 1632) 1359793439 -5.010174379831914 treat image : temp/1747731449_1872647_1359793435_ced43331725b1337679b1434208073b3.jpg resize: (1080, 1632) 1359793435 -1.4532766742740855 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.01687335968017578 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.01481938362121582 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015766620635986328 save missing photos in datou_result : time spend for datou_step_exec : 16.576396226882935 time spend to save output : 0.05289649963378906 total time spend for step 1 : 16.629292726516724 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.69user 4.25system 0:22.24elapsed 85%CPU (0avgtext+0avgdata 137692maxresident)k 152inputs+8720outputs (12major+262048minor)pagefaults 0swaps