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 : 2662832 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 : 1044>100 please execute split_portfolio.py -i 22024890 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2720883'] with mtr_portfolio_ids : ['22024890'] and first list_photo_ids : [] new path : /proc/2662832/ 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.298898696899414 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 Apr 15 11:12: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/1744708348_2662832_1349852827_fa2a26f05dcf7bda482d7f2241392b54.jpg resize: (1080, 1632) 1349852827 -2.7791028209615045 treat image : temp/1744708348_2662832_1349852816_708d02d134fb96b1e18236a3531af2fb.jpg resize: (1080, 1632) 1349852816 -3.9165227529729263 treat image : temp/1744708348_2662832_1349852805_6a8cecd1977caf6c2246d7ebab5a9751.jpg resize: (1080, 1632) 1349852805 -5.313935575372977 treat image : temp/1744708348_2662832_1349852792_c87a4cfe8b6f094fc76aa2f068bf5c96.jpg resize: (1080, 1632) 1349852792 -1.674994529402403 treat image : temp/1744708348_2662832_1349852772_aded862ce00af2267a1b044d21e24954.jpg resize: (1080, 1632) 1349852772 -3.3211344184273655 treat image : temp/1744708348_2662832_1349852738_ec8119d32d0d71d4857e10182b2865ae.jpg resize: (1080, 1632) 1349852738 -4.469730574459237 treat image : temp/1744708348_2662832_1349851678_28f16b2c6dd0c35c32d4084db0afd8a9.jpg resize: (1080, 1632) 1349851678 -4.581861708613308 treat image : temp/1744708348_2662832_1349851643_0c4628d98896ab208e5f5b0b25b30fb5.jpg resize: (1080, 1632) 1349851643 -4.967568411482349 treat image : temp/1744708348_2662832_1349851607_ca988ffb285a7d4f03d70f33c32b5848.jpg resize: (1080, 1632) 1349851607 -5.388443731318816 treat image : temp/1744708348_2662832_1349851558_03debed8eeb678d879237d93049a4de0.jpg resize: (1080, 1632) 1349851558 -5.860596101177493 treat image : temp/1744708348_2662832_1349851464_816f2d280bd34b52f56f620c3015a6e6.jpg resize: (1080, 1632) 1349851464 -5.581103845742243 treat image : temp/1744708348_2662832_1349851458_91f67130133e87f197d8230491bf68a9.jpg resize: (1080, 1632) 1349851458 -4.332860144880152 treat image : temp/1744708348_2662832_1349851453_24743db3d026dfde4f636db28bf40d9b.jpg resize: (1080, 1632) 1349851453 -1.357059588138422 treat image : temp/1744708348_2662832_1349851446_bac632d65cd4bd8416afdc705965cc19.jpg resize: (1080, 1632) 1349851446 -2.0533568973421414 treat image : temp/1744708348_2662832_1349851439_d69d934744514a9ef11d6173b7f4a0e6.jpg resize: (1080, 1632) 1349851439 -3.2891365993627444 treat image : temp/1744708348_2662832_1349851429_cfaa731476d7eaddba020474d96045c8.jpg resize: (1080, 1632) 1349851429 -3.167635941504239 treat image : temp/1744708348_2662832_1349845466_87fd3f5f807671a2ef3157700d509252.jpg resize: (1080, 1632) 1349845466 -1.896516238968835 treat image : temp/1744708348_2662832_1349845462_c0fc840f2f0cd78c144c81495c04e663.jpg resize: (1080, 1632) 1349845462 -3.946823066464496 treat image : temp/1744708348_2662832_1349845458_2110825c7005be8c94ff49dfbc99719c.jpg resize: (1080, 1632) 1349845458 -4.286031799200348 treat image : temp/1744708348_2662832_1349845446_01368cd94be56cbadb2b16b3d09289e3.jpg resize: (1080, 1632) 1349845446 -5.650980612884486 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.012776851654052734 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.012760400772094727 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016125202178955078 save missing photos in datou_result : time spend for datou_step_exec : 14.273479461669922 time spend to save output : 0.04660844802856445 total time spend for step 1 : 14.320087909698486 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.31user 1.59system 0:18.83elapsed 89%CPU (0avgtext+0avgdata 141200maxresident)k 144inputs+9208outputs (9major+124374minor)pagefaults 0swaps