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 : 583276 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 : 2553>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/583276/ 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.0846548080444336 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 18:32: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/1738949548_583276_1335571085_18164ba7f32490c0e669413fd274347b.jpg resize: (1080, 1632) 1335571085 -3.671088800162429 treat image : temp/1738949548_583276_1335571082_16e7df7427dc69d4796c7713262b1008.jpg resize: (1080, 1632) 1335571082 -1.902023682612504 treat image : temp/1738949548_583276_1335571078_c881c9043e548890bd1a1018c3da23ee.jpg resize: (1080, 1632) 1335571078 -2.718519702602371 treat image : temp/1738949548_583276_1335571074_5f77b7eb1451189ea870162724ee9b7a.jpg resize: (1080, 1632) 1335571074 -6.550085008728968 treat image : temp/1738949548_583276_1335571054_01b15ba4ecf9ff1ce84c7f3dbc987ec5.jpg resize: (1080, 1632) 1335571054 -6.509102447644377 treat image : temp/1738949548_583276_1335571052_62f6cb66a1710d27facbbca6231f1ef7.jpg resize: (1080, 1632) 1335571052 -6.510454907157946 treat image : temp/1738949548_583276_1335571048_345bf14b0025c28eb8a74b9a04646c60.jpg resize: (1080, 1632) 1335571048 -4.848974480365456 treat image : temp/1738949548_583276_1335571045_f659459ce3d2c0495e4c9cef666c87f2.jpg resize: (1080, 1632) 1335571045 -6.223627067968176 treat image : temp/1738949548_583276_1335571042_74b3d7571e673d3d8baed044f250d729.jpg resize: (1080, 1632) 1335571042 -6.277554631256323 treat image : temp/1738949548_583276_1335571039_668bf98665b453ca155c7be95cf20388.jpg resize: (1080, 1632) 1335571039 -4.53231052967311 treat image : temp/1738949548_583276_1335571016_1127a6721bb4c0debfd3abf2c0d72432.jpg resize: (1080, 1632) 1335571016 -2.4463186037921667 treat image : temp/1738949548_583276_1335571014_cb309e285f548966631e99824b917ee4.jpg resize: (1080, 1632) 1335571014 -3.0883286318994743 treat image : temp/1738949548_583276_1335571012_f36e2fae9da754170db99400c7500e73.jpg resize: (1080, 1632) 1335571012 -6.01634386483923 treat image : temp/1738949548_583276_1335571010_d840dd9ae07feb7ccafa4fdf2bf6fa03.jpg resize: (1080, 1632) 1335571010 -6.152306089906178 treat image : temp/1738949548_583276_1335571007_787c94d32d1031ae1e664cad4f455291.jpg resize: (1080, 1632) 1335571007 -5.529328550442854 treat image : temp/1738949548_583276_1335571006_f8a5398b4721a1b509ba395617819602.jpg resize: (1080, 1632) 1335571006 -6.643431772959065 treat image : temp/1738949548_583276_1335570975_6504254f75963acc58ce4a735212bd5e.jpg resize: (1080, 1632) 1335570975 -5.5144119389234 treat image : temp/1738949548_583276_1335570973_d6046155de944232e7e021b73379acd3.jpg resize: (1080, 1632) 1335570973 -5.208233625911598 treat image : temp/1738949548_583276_1335570972_7c123fe8ef52eb520ed60958cc6c8d8b.jpg resize: (1080, 1632) 1335570972 -5.475741642517504 treat image : temp/1738949548_583276_1335570970_5b99aa65bad977149be0a9088402ef25.jpg resize: (1080, 1632) 1335570970 -5.073788969708731 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.012642145156860352 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.015350103378295898 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 1.2608225345611572 save missing photos in datou_result : time spend for datou_step_exec : 19.63192319869995 time spend to save output : 1.29337739944458 total time spend for step 1 : 20.92530059814453 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.27user 7.59system 0:27.08elapsed 84%CPU (0avgtext+0avgdata 138336maxresident)k 144inputs+10672outputs (13major+252291minor)pagefaults 0swaps