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 : 949910 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 : 1342>100 please execute split_portfolio.py -i 21478223 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2674161'] with mtr_portfolio_ids : ['21478223'] and first list_photo_ids : [] new path : /proc/949910/ 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.309885263442993 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 18:52: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/1742579547_949910_1346132823_ae6b7c3ea02f4281ca574a4def38dd77.jpg resize: (1080, 1632) 1346132823 -5.72206186141949 treat image : temp/1742579547_949910_1346132795_8c448bd3f188a51f45c07eb99ff7335a.jpg resize: (1080, 1632) 1346132795 -6.431086547115516 treat image : temp/1742579547_949910_1346132769_4a857507ecc80f80bdb6bd8feb422f61.jpg resize: (1080, 1632) 1346132769 -6.294482415034753 treat image : temp/1742579547_949910_1346132728_10c4b9230fe1eb502ab33d91c17fd347.jpg resize: (1080, 1632) 1346132728 -6.082098829933434 treat image : temp/1742579547_949910_1346132701_d64db1d7a2218166c092b4fbe4cc37ff.jpg resize: (1080, 1632) 1346132701 -6.482523409819868 treat image : temp/1742579547_949910_1346132673_261d77620dab04bf8b0db3b3d70f2a43.jpg resize: (1080, 1632) 1346132673 -6.293541763897846 treat image : temp/1742579547_949910_1346132587_fa5174c1269a24f847f0c3fdaf107174.jpg resize: (1080, 1632) 1346132587 -1.3193328280542536 treat image : temp/1742579547_949910_1346132559_659405bdae999cad63165fb3b1328bd0.jpg resize: (1080, 1632) 1346132559 -5.301838277397596 treat image : temp/1742579547_949910_1346132533_0759bba00be8b2ca0410664f0b6611f9.jpg resize: (1080, 1632) 1346132533 -5.853430040001868 treat image : temp/1742579547_949910_1346132508_27aa604226ee5a50a1876a9a0370f327.jpg resize: (1080, 1632) 1346132508 -6.709024711171092 treat image : temp/1742579547_949910_1346132494_4603888beccda45a8f3a26a915c8950e.jpg resize: (1080, 1632) 1346132494 -4.946639327216308 treat image : temp/1742579547_949910_1346132489_55bf6851c0da1f8c5f7488a9a00cef8a.jpg resize: (1080, 1632) 1346132489 -5.5168224334922185 treat image : temp/1742579547_949910_1346131333_39825905c2d76d5758c60fcfc901848c.jpg resize: (1080, 1632) 1346131333 -5.691755705602711 treat image : temp/1742579547_949910_1346131303_eda3c99ce4baac45c79a83fb5ae8b2cb.jpg resize: (1080, 1632) 1346131303 -6.549677337759801 treat image : temp/1742579547_949910_1346131269_432d10dcc51c4bfd3baf09292c5e017d.jpg resize: (1080, 1632) 1346131269 -2.487297884475338 treat image : temp/1742579547_949910_1346131226_988f69e0fe47c1999e5b6fd72e021745.jpg resize: (1080, 1632) 1346131226 -4.57276127252578 treat image : temp/1742579547_949910_1346131009_e1e02718f9ca42a47f35a3587f3b9e25.jpg resize: (1080, 1632) 1346131009 -5.933958437435253 treat image : temp/1742579547_949910_1346130878_b2e12e8d8ed9c7cf077ceeafe26c1d65.jpg resize: (1080, 1632) 1346130878 -4.191142737269424 treat image : temp/1742579547_949910_1346130854_e51a52ee31eb97754579a8955508bf79.jpg resize: (1080, 1632) 1346130854 -6.558333908851658 treat image : temp/1742579547_949910_1346130827_1b49a03f41a4bb0fe02071cc8204d143.jpg resize: (1080, 1632) 1346130827 -5.932489753407643 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.01265263557434082 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.012185335159301758 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014966011047363281 save missing photos in datou_result : time spend for datou_step_exec : 16.56432342529297 time spend to save output : 0.044558048248291016 total time spend for step 1 : 16.60888147354126 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.75user 5.23system 0:21.71elapsed 87%CPU (0avgtext+0avgdata 138564maxresident)k 160inputs+11736outputs (2major+253853minor)pagefaults 0swaps