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 : 3424969 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 : 1619>100 please execute split_portfolio.py -i 21370538 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2664544'] with mtr_portfolio_ids : ['21370538'] and first list_photo_ids : [] new path : /proc/3424969/ 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 : 4.068063974380493 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 Mar 13 15:57:33 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/1741877849_3424969_1343737667_db525bd867036e71e8280502bc7a9e1b.jpg resize: (1080, 1632) 1343737667 -6.189261968956378 treat image : temp/1741877849_3424969_1343737660_6ce0056b7fd032dea7789a200a09b12b.jpg resize: (1080, 1632) 1343737660 -4.988089551942914 treat image : temp/1741877849_3424969_1343737655_3f1d3c3be42473e30f0ddc26c3934009.jpg resize: (1080, 1632) 1343737655 -2.8234948363936407 treat image : temp/1741877849_3424969_1343737648_14e0d3d0ebb1b3613e13cd9fb2bd2e16.jpg resize: (1080, 1632) 1343737648 -4.008905736080247 treat image : temp/1741877849_3424969_1343737644_f82885edec103b33d6a95408f24afadd.jpg resize: (1080, 1632) 1343737644 -5.76404311589261 treat image : temp/1741877849_3424969_1343737621_a3669e572e4faf24953813c5168b4f97.jpg resize: (1080, 1632) 1343737621 -2.2564164245482075 treat image : temp/1741877849_3424969_1343737616_c68b4061af77148f0f771fc2ae3aaa7c.jpg resize: (1080, 1632) 1343737616 -3.532447953253407 treat image : temp/1741877849_3424969_1343737613_68bc1da1f0776cabdb09fcbb5167ef95.jpg resize: (1080, 1632) 1343737613 -3.1560773850222277 treat image : temp/1741877849_3424969_1343737607_2889bf8bb420fa4dfee3b543286faf61.jpg resize: (1080, 1632) 1343737607 -3.4462885150630567 treat image : temp/1741877849_3424969_1343737602_d8d31674f3610b753c4a149586accc0d.jpg resize: (1080, 1632) 1343737602 -2.631186061095069 treat image : temp/1741877849_3424969_1343737556_59221c71e660aba08db68df11375df11.jpg resize: (1080, 1632) 1343737556 -6.426555237453776 treat image : temp/1741877849_3424969_1343737550_7271676677766e6fe28f37bdf78858f6.jpg resize: (1080, 1632) 1343737550 -2.117324312847064 treat image : temp/1741877849_3424969_1343737521_4d2f468bc1ae22423800ce76861fa771.jpg resize: (1080, 1632) 1343737521 -5.831923303580194 treat image : temp/1741877849_3424969_1343737515_5c4d19a68ac470c2b7d11b9f8702f5c3.jpg resize: (1080, 1632) 1343737515 -5.98946984489996 treat image : temp/1741877849_3424969_1343737511_c770ff5a93df03b87c2daabad7786ba3.jpg resize: (1080, 1632) 1343737511 -5.560213920463471 treat image : temp/1741877849_3424969_1343737479_502392feec4b00d64b176e325e42ad37.jpg resize: (1080, 1632) 1343737479 -6.472297335426414 treat image : temp/1741877849_3424969_1343737478_07ac000fbf4f6dad46f2c54da27cb191.jpg resize: (1080, 1632) 1343737478 -6.258991615575966 treat image : temp/1741877849_3424969_1343737475_0151152e93ea4812a3455ce3f7b73cf2.jpg resize: (1080, 1632) 1343737475 -5.772636030999035 treat image : temp/1741877849_3424969_1343737470_e2a416d8b5c34bd3ac277eade800dd98.jpg resize: (1080, 1632) 1343737470 -5.777387048872213 treat image : temp/1741877849_3424969_1343737465_c0f7c3ea2c629ceb2bb015e55822ef2a.jpg resize: (1080, 1632) 1343737465 -5.853155377946976 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.012597322463989258 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.013024330139160156 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021835803985595703 save missing photos in datou_result : time spend for datou_step_exec : 15.60779094696045 time spend to save output : 0.052846670150756836 total time spend for step 1 : 15.660637617111206 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.98user 2.99system 0:24.07elapsed 74%CPU (0avgtext+0avgdata 140552maxresident)k 128inputs+10112outputs (11major+240550minor)pagefaults 0swaps