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 : 3672533 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/3672533/ 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.975105047225952 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 Sep 16 20:27:31 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/1758047247_3672533_1383539302_ed60196868788c6dbbc1552279d9b345.jpg resize: (1080, 1632) 1383539302 -5.180346151119374 treat image : temp/1758047247_3672533_1383539146_f4417c9756ef420577e1f43f76b90e25.jpg resize: (1080, 1632) 1383539146 -5.405989291587166 treat image : temp/1758047247_3672533_1383539113_ca23e8362c76e3ee130f5debff3d9bf5.jpg resize: (1080, 1632) 1383539113 -4.927276916158122 treat image : temp/1758047247_3672533_1383538995_f066eb7a41d6fd7b33151b411d6c3757.jpg resize: (1080, 1632) 1383538995 -5.179536947366644 treat image : temp/1758047247_3672533_1383538977_46c8cabc89a96c588c812247e2677042.jpg resize: (1080, 1632) 1383538977 -4.5657484146612255 treat image : temp/1758047247_3672533_1383538962_34f5a03b241f55da8ac91a8c88bce24e.jpg resize: (1080, 1632) 1383538962 -4.966152455818709 treat image : temp/1758047247_3672533_1383538952_64dff668ba351a9cfb218d368fd4d875.jpg resize: (1080, 1632) 1383538952 -6.111909012231325 treat image : temp/1758047247_3672533_1383538946_a5bdff0eea140d60e427e1c2e34d424c.jpg resize: (1080, 1632) 1383538946 -6.383014175953522 treat image : temp/1758047247_3672533_1383538939_a922d6e6989facde2d956ba34629549f.jpg resize: (1080, 1632) 1383538939 -3.9467048162486376 treat image : temp/1758047247_3672533_1383538936_d891c88879646cddd18dac84dec8282c.jpg resize: (1080, 1632) 1383538936 -6.162011653064595 treat image : temp/1758047247_3672533_1383538935_cd71539a357f8a675a90f6c4b87fc21b.jpg resize: (1080, 1632) 1383538935 -5.014641058484745 treat image : temp/1758047247_3672533_1383538867_a2564c46814e61531f4effe7f6394b43.jpg resize: (1080, 1632) 1383538867 -5.179536947366644 treat image : temp/1758047247_3672533_1383538863_4419160c8bdca6d02289916f9092d170.jpg resize: (1080, 1632) 1383538863 -4.5657484146612255 treat image : temp/1758047247_3672533_1383538859_6ecd8144d2969a800256602966b03adb.jpg resize: (1080, 1632) 1383538859 -4.966152455818709 treat image : temp/1758047247_3672533_1383538857_54478d10600aff8f8b653f5ca10b6f33.jpg resize: (1080, 1632) 1383538857 -6.111909012231325 treat image : temp/1758047247_3672533_1383538855_b7aeb27f51861e5e5a9f76a930a4475a.jpg resize: (1080, 1632) 1383538855 -6.383014175953522 treat image : temp/1758047247_3672533_1383538852_5d34ad266af8f8be9570e73289e48c69.jpg resize: (1080, 1632) 1383538852 -3.9467048162486376 treat image : temp/1758047247_3672533_1383538808_0cb4d054542ca1bab42aa5616df14ad9.jpg resize: (1080, 1632) 1383538808 -5.293099852259912 treat image : temp/1758047247_3672533_1383538804_9c685a19f84bbee36880faa9450a7073.jpg resize: (1080, 1632) 1383538804 -3.459206891032551 treat image : temp/1758047247_3672533_1383538802_c2a8152d2d32226472834e7ede60dd8e.jpg resize: (1080, 1632) 1383538802 -1.541487576617639 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.013457775115966797 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.014189720153808594 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01593804359436035 save missing photos in datou_result : time spend for datou_step_exec : 16.0030620098114 time spend to save output : 0.048241615295410156 total time spend for step 1 : 16.05130362510681 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.83user 3.48system 0:22.60elapsed 81%CPU (0avgtext+0avgdata 137636maxresident)k 5928inputs+10528outputs (29major+261348minor)pagefaults 0swaps