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 : 3868123 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 : 4791>100 please execute split_portfolio.py -i 19382293 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2460022'] with mtr_portfolio_ids : ['19382293'] and first list_photo_ids : [] new path : /proc/3868123/ 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.239189863204956 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 Mar 25 22:37: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/1742938647_3868123_1333496384_689be4e7a3267f53d2e2a1d8cbac71ee.jpg resize: (1080, 1632) 1333496384 -0.15372340322019792 treat image : temp/1742938647_3868123_1333496380_2a764771733a5b97e2ac3435d3c5d07b.jpg resize: (1080, 1632) 1333496380 -0.852267956707711 treat image : temp/1742938647_3868123_1333496377_10ae0358819a58f1ac850f30d77eac43.jpg resize: (1080, 1632) 1333496377 0.3107861603433641 treat image : temp/1742938647_3868123_1333496374_d5803ab55e1a2039fba84919724a7a9d.jpg resize: (1080, 1632) 1333496374 0.7502975389484395 treat image : temp/1742938647_3868123_1333496372_ff69d42271d23bc1dda1be5139a62897.jpg resize: (1080, 1632) 1333496372 3.492662901529142 treat image : temp/1742938647_3868123_1333495943_512a1faa2902e2d1275da2256b7d16f0.jpg resize: (1080, 1632) 1333495943 4.425166001162393 treat image : temp/1742938647_3868123_1333495940_bcfe90131bf0f65c805d40f99dd0e0fc.jpg resize: (1080, 1632) 1333495940 4.071706923764224 treat image : temp/1742938647_3868123_1333495936_be4917c047cc43b714a7c7106f794a2f.jpg resize: (1080, 1632) 1333495936 2.7224754048620534 treat image : temp/1742938647_3868123_1333495932_af8e7e6782a59aadbe094b0cba418834.jpg resize: (1080, 1632) 1333495932 3.155474134555488 treat image : temp/1742938647_3868123_1333495930_145d53600efcb243616d1eee97f751ba.jpg resize: (1080, 1632) 1333495930 5.094704676556991 treat image : temp/1742938647_3868123_1333495923_93f23358f93e38dd66a47fb855ef6051.jpg resize: (1080, 1632) 1333495923 5.8158311482217515 treat image : temp/1742938647_3868123_1333495739_7495e7a374c7bb2b89c900433dd15fbb.jpg resize: (1080, 1632) 1333495739 7.515830358263794 treat image : temp/1742938647_3868123_1333495648_46e08abba5e2f2423d03ec465dd14863.jpg resize: (1080, 1632) 1333495648 3.3798821366469776 treat image : temp/1742938647_3868123_1333495565_bef647db07400b289c2dc2b5d6914de1.jpg resize: (1080, 1632) 1333495565 3.668357088321544 treat image : temp/1742938647_3868123_1333495445_c57a70d9220ac97a445572a25c988412.jpg resize: (1080, 1632) 1333495445 4.220733976990312 treat image : temp/1742938647_3868123_1333495310_4dba28779a877b29a7ff2a50ca2021e1.jpg resize: (1080, 1632) 1333495310 0.6463925151136011 treat image : temp/1742938647_3868123_1333495221_e2de0b9b409d639f9e2b2e800a0fe58f.jpg resize: (1080, 1632) 1333495221 -0.2190912039042871 treat image : temp/1742938647_3868123_1333493733_95d4ab1192c0c32abc76231dbb4d9098.jpg resize: (1080, 1632) 1333493733 2.6905239211171295 treat image : temp/1742938647_3868123_1333493731_4989c1dc5c842be154a54dd4a066077c.jpg resize: (1080, 1632) 1333493731 2.871045304301674 treat image : temp/1742938647_3868123_1333493727_a990e8a540990a7d361f2c331fbdd32e.jpg resize: (1080, 1632) 1333493727 3.855121038304982 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.012845993041992188 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.7260146141052246 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014885902404785156 save missing photos in datou_result : time spend for datou_step_exec : 15.742116451263428 time spend to save output : 0.7581753730773926 total time spend for step 1 : 16.50029182434082 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.14user 3.70system 0:22.18elapsed 80%CPU (0avgtext+0avgdata 139428maxresident)k 80inputs+3528outputs (11major+258520minor)pagefaults 0swaps