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 : 1924439 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 : 594>100 please execute split_portfolio.py -i 20278395 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2557277'] with mtr_portfolio_ids : ['20278395'] and first list_photo_ids : [] new path : /proc/1924439/ 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.1662535667419434 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 03:02:29 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/1738807347_1924439_1335095752_57fd8a1d91a660aa9d7b92477ec5c767.jpg resize: (1080, 1632) 1335095752 -6.275926203578516 treat image : temp/1738807347_1924439_1335095750_044171b06b564993cb7d82afc4d09fec.jpg resize: (1080, 1632) 1335095750 -4.031855554046161 treat image : temp/1738807347_1924439_1335095745_eeded44ea4974302835b998a08980961.jpg resize: (1080, 1632) 1335095745 -5.437021418631397 treat image : temp/1738807347_1924439_1335095658_bdf96aabc1d82f6074ea5abf19f9f4d8.jpg resize: (1080, 1632) 1335095658 -4.924474398449196 treat image : temp/1738807347_1924439_1335095627_bce6c0d961d06b56a652ab98a0ce4771.jpg resize: (1080, 1632) 1335095627 -6.376277151986638 treat image : temp/1738807347_1924439_1335095624_393cf04a02512828733fd56c4f4af921.jpg resize: (1080, 1632) 1335095624 -6.530929310010601 treat image : temp/1738807347_1924439_1335095553_dd2a7471d1af3aac800366dd33c1c427.jpg resize: (1080, 1632) 1335095553 -5.941506439885806 treat image : temp/1738807347_1924439_1335095500_b099d7a21b62bf7aac64db6317de9d65.jpg resize: (1080, 1632) 1335095500 -2.8594700775847506 treat image : temp/1738807347_1924439_1335095494_70699d40b0fde1b5ffd5627321a055c6.jpg resize: (1080, 1632) 1335095494 -3.1354430104015436 treat image : temp/1738807347_1924439_1335095490_961fb3ab6726693273ce023a32800ac7.jpg resize: (1080, 1632) 1335095490 -4.798007609012878 treat image : temp/1738807347_1924439_1335095488_49d831b7be9e5faf59e9515d2ad3a00d.jpg resize: (1080, 1632) 1335095488 -5.336243444780648 treat image : temp/1738807347_1924439_1335095485_81a522079c9b2a7c18f74a0a48f831a9.jpg resize: (1080, 1632) 1335095485 -5.943443871702112 treat image : temp/1738807347_1924439_1335095468_7c16de866f70e2f75d8d981dc8aa4add.jpg resize: (1080, 1632) 1335095468 -4.684441198878599 treat image : temp/1738807347_1924439_1335095465_1df79c78507c90c1b57fedde25941908.jpg resize: (1080, 1632) 1335095465 -2.2450245358312255 treat image : temp/1738807347_1924439_1335095463_ec0450e55eca97c39e63d3b2c9ec8e10.jpg resize: (1080, 1632) 1335095463 -2.9522770166602235 treat image : temp/1738807347_1924439_1335095459_9158bcf519389f8977d3624c41afcafe.jpg resize: (1080, 1632) 1335095459 -6.278074472807477 treat image : temp/1738807347_1924439_1335095457_7fe3db33cc0caf872b0405756e5d9a19.jpg resize: (1080, 1632) 1335095457 -0.6466230466018991 treat image : temp/1738807347_1924439_1335095455_6da5c07a8458811b016142aa127ab860.jpg resize: (1080, 1632) 1335095455 -2.874753550503533 treat image : temp/1738807347_1924439_1335095423_131e8833478ab933b7b02ffe6e94b6a2.jpg resize: (1080, 1632) 1335095423 -5.214515741515021 treat image : temp/1738807347_1924439_1335095412_fc812483031f05c88302006aca8bc302.jpg resize: (1080, 1632) 1335095412 -3.038415381041366 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.014814376831054688 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.013951301574707031 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016857385635375977 save missing photos in datou_result : time spend for datou_step_exec : 13.322341918945312 time spend to save output : 0.05002880096435547 total time spend for step 1 : 13.372370719909668 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.31user 1.19system 0:17.70elapsed 87%CPU (0avgtext+0avgdata 141052maxresident)k 0inputs+10008outputs (10major+126303minor)pagefaults 0swaps