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 : 1820722 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 : 4114>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/1820722/ 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 : 3.490712881088257 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 Thu Feb 6 02:07: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/1738804048_1820722_1335078599_666236d9fd2c67de915ba3cf6b608fa7.jpg resize: (1080, 1632) 1335078599 -2.615098847672317 treat image : temp/1738804048_1820722_1335078590_1f8c67a6a64648939fc649d2e6194a56.jpg resize: (1080, 1632) 1335078590 -3.0242768880759385 treat image : temp/1738804048_1820722_1335078525_318128e322d43c16678b03ef83d57bf8.jpg resize: (1080, 1632) 1335078525 -3.4755140713356245 treat image : temp/1738804048_1820722_1335078523_bcc9576497854cfe74dc4e90af11d16c.jpg resize: (1080, 1632) 1335078523 -5.358804159590462 treat image : temp/1738804048_1820722_1335078522_411d1aa80604a8937d89629c0fc01ffc.jpg resize: (1080, 1632) 1335078522 -5.287047623963457 treat image : temp/1738804048_1820722_1335078481_5a16b73b80947b2b5c23dc08e315da36.jpg resize: (1080, 1632) 1335078481 -5.532019093649385 treat image : temp/1738804048_1820722_1335078390_e8ba6e47ee62eb36a5302ce89365bcd9.jpg resize: (1080, 1632) 1335078390 -5.90167611315727 treat image : temp/1738804048_1820722_1335078371_d72034e035708862938a69c1ad9d7d7e.jpg resize: (1080, 1632) 1335078371 -5.1841558338149945 treat image : temp/1738804048_1820722_1335078267_a3f942223c3dd77adf04c652f217fc94.jpg resize: (1080, 1632) 1335078267 -5.927147737292888 treat image : temp/1738804048_1820722_1335078262_d1ee0e365786f8819806d69c26e9d7c6.jpg resize: (1080, 1632) 1335078262 -5.914431655893571 treat image : temp/1738804048_1820722_1335078258_c2965e4cdaa1ab76ca8c3aba727942cd.jpg resize: (1080, 1632) 1335078258 -3.554974675499417 treat image : temp/1738804048_1820722_1335078251_da6cede815505435dd2225cfdf527ae1.jpg resize: (1080, 1632) 1335078251 -2.6439711701129274 treat image : temp/1738804048_1820722_1335078236_59d0c1c6c867b7e0bb6444424208be41.jpg resize: (1080, 1632) 1335078236 -2.5578913942015253 treat image : temp/1738804048_1820722_1335078235_fc4a397ffaaef4b37baf2c2ef3f0c458.jpg resize: (1080, 1632) 1335078235 -2.7655015535116885 treat image : temp/1738804048_1820722_1335078175_e8b715d13c16533315a47a02c5f2da62.jpg resize: (1080, 1632) 1335078175 -2.9052916223835425 treat image : temp/1738804048_1820722_1335078173_65555f5dfdaa674b2ba7a94256c66361.jpg resize: (1080, 1632) 1335078173 -4.49796162855767 treat image : temp/1738804048_1820722_1335078172_d57ec2287a14740b1b702b12882382bd.jpg resize: (1080, 1632) 1335078172 -5.23855175582108 treat image : temp/1738804048_1820722_1335078169_c7d69917b728a5ca5cd9af22e09f58b0.jpg resize: (1080, 1632) 1335078169 -4.417346598196753 treat image : temp/1738804048_1820722_1335078158_20f24d1da0cf3f3633b295d700655e32.jpg resize: (1080, 1632) 1335078158 -4.342258293176991 treat image : temp/1738804048_1820722_1335078154_8d78a86be4dad426bcb6864fc2ba3f39.jpg resize: (1080, 1632) 1335078154 -5.445254723268188 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.3875083923339844 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.6813766956329346 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.1301436424255371 save missing photos in datou_result : time spend for datou_step_exec : 13.410001277923584 time spend to save output : 1.2041525840759277 total time spend for step 1 : 14.614153861999512 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.21user 1.91system 0:20.59elapsed 78%CPU (0avgtext+0avgdata 139448maxresident)k 72inputs+9176outputs (18major+126989minor)pagefaults 0swaps