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 : 2300371 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 : 679>100 please execute split_portfolio.py -i 20315060 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2560927'] with mtr_portfolio_ids : ['20315060'] and first list_photo_ids : [] new path : /proc/2300371/ 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.2122204303741455 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 Feb 7 07:22: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/1738909347_2300371_1335421384_998cc2fc94e933b14caf9dd9b00d7c61.jpg resize: (1080, 1632) 1335421384 -5.65687608332007 treat image : temp/1738909347_2300371_1335421381_eb4e2ff9a94cd5bf61a5a243252cea3e.jpg resize: (1080, 1632) 1335421381 -2.9909782054641982 treat image : temp/1738909347_2300371_1335421377_4f5eb520deb5e83e69489076840927c6.jpg resize: (1080, 1632) 1335421377 -2.6865895032413407 treat image : temp/1738909347_2300371_1335421375_96351bdb72488c050be6bdaf07c0dd03.jpg resize: (1080, 1632) 1335421375 -4.284300558089758 treat image : temp/1738909347_2300371_1335420260_4ec95803611a3bba53038b25f7e228e9.jpg resize: (1080, 1632) 1335420260 -3.099000059642476 treat image : temp/1738909347_2300371_1335420258_47dd3febbea102f299265e0d2f63e617.jpg resize: (1080, 1632) 1335420258 -2.067433975639499 treat image : temp/1738909347_2300371_1335420256_8386159fa1f5a88d3be99f9f9dcfa43d.jpg resize: (1080, 1632) 1335420256 -4.577013613538891 treat image : temp/1738909347_2300371_1335420254_228ae5932d41b26ae6f614a1e8d5007b.jpg resize: (1080, 1632) 1335420254 -4.8817597872433485 treat image : temp/1738909347_2300371_1335420253_80c04ffed9c437fc575e541f20c2675a.jpg resize: (1080, 1632) 1335420253 -6.116168232258067 treat image : temp/1738909347_2300371_1335420244_12e88916b8880dfaddf889cfefc70ddc.jpg resize: (1080, 1632) 1335420244 -5.2706987036931565 treat image : temp/1738909347_2300371_1335420241_e16154c855ccf6cfa891a17c7d2a9373.jpg resize: (1080, 1632) 1335420241 -5.595795285302638 treat image : temp/1738909347_2300371_1335420236_168252d826f3605b2a52044d6ce23b89.jpg resize: (1080, 1632) 1335420236 -6.552129644456303 treat image : temp/1738909347_2300371_1335420233_e6f5a7632aae0a546f8d1ea0cebb3224.jpg resize: (1080, 1632) 1335420233 -5.732034160373242 treat image : temp/1738909347_2300371_1335420225_44421291a8b69fa8adbfda7ddada7e4f.jpg resize: (1080, 1632) 1335420225 -5.992110581397694 treat image : temp/1738909347_2300371_1335420221_af59fc6123745190fb17a7f90e67db84.jpg resize: (1080, 1632) 1335420221 -6.040498251854004 treat image : temp/1738909347_2300371_1335420212_e120475afad018f5d029c08299f5a824.jpg resize: (1080, 1632) 1335420212 -6.4360777336864095 treat image : temp/1738909347_2300371_1335420208_e55db9acd730587e99abcd1a88065485.jpg resize: (1080, 1632) 1335420208 -6.366201194598093 treat image : temp/1738909347_2300371_1335420202_bd445fcd20ed15ac4c36ac63a6f517a5.jpg resize: (1080, 1632) 1335420202 -6.30934940997489 treat image : temp/1738909347_2300371_1335420199_005d07463c28a1229f255ba3b23c82e6.jpg resize: (1080, 1632) 1335420199 -6.4066979587575075 treat image : temp/1738909347_2300371_1335420194_24003ae07e894d5d85c95fe783c7d5e3.jpg resize: (1080, 1632) 1335420194 -6.233697326263084 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.6578593254089355 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.018445253372192383 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014866352081298828 save missing photos in datou_result : time spend for datou_step_exec : 13.66040325164795 time spend to save output : 0.6964945793151855 total time spend for step 1 : 14.356897830963135 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.50user 1.65system 0:18.82elapsed 85%CPU (0avgtext+0avgdata 141516maxresident)k 40inputs+10664outputs (11major+128982minor)pagefaults 0swaps