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 : 2843431 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 : 913>100 please execute split_portfolio.py -i 20624335 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2594849'] with mtr_portfolio_ids : ['20624335'] and first list_photo_ids : [] new path : /proc/2843431/ 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.1800198554992676 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 Feb 18 09:22:32 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/1739866949_2843431_1338299799_7f0588fe13e81aaeac35eadfb6ae4dcd.jpg resize: (1080, 1632) 1338299799 -5.983899164211586 treat image : temp/1739866949_2843431_1338299795_b065ea6dcceace43d2c7d4297b104aa1.jpg resize: (1080, 1632) 1338299795 -5.867163271056903 treat image : temp/1739866949_2843431_1338299791_810d5a59707f13281f5ddbead1ff50d2.jpg resize: (1080, 1632) 1338299791 -6.242287118930813 treat image : temp/1739866949_2843431_1338299787_dfeda972a69c816183f56dd56975e3b7.jpg resize: (1080, 1632) 1338299787 -5.978699011545086 treat image : temp/1739866949_2843431_1338299750_9caa5430ddbc34bb95ae4031d9cf744d.jpg resize: (1080, 1632) 1338299750 -5.632916428266965 treat image : temp/1739866949_2843431_1338299746_e1bc22e8a7b87b75d525a67e07c16f15.jpg resize: (1080, 1632) 1338299746 -6.5874402921387665 treat image : temp/1739866949_2843431_1338299742_107d8020f67916d4bfd99242533c6b50.jpg resize: (1080, 1632) 1338299742 -4.060738718979034 treat image : temp/1739866949_2843431_1338299739_c134708cd93557262dfaa0ff9eb77427.jpg resize: (1080, 1632) 1338299739 -2.427396257101735 treat image : temp/1739866949_2843431_1338299709_4983ccacae67c388d34d7c1d86332432.jpg resize: (1080, 1632) 1338299709 -5.8983266826757665 treat image : temp/1739866949_2843431_1338299706_d4209342a8e420e35e7bc0b36e9d9044.jpg resize: (1080, 1632) 1338299706 -6.386235640440441 treat image : temp/1739866949_2843431_1338299702_e996445e96ddfcec5dd2666b2a0271aa.jpg resize: (1080, 1632) 1338299702 -6.019121059398432 treat image : temp/1739866949_2843431_1338299697_b3a733e0b5a6ba1f88d1b99fd20659b0.jpg resize: (1080, 1632) 1338299697 -6.47612252107713 treat image : temp/1739866949_2843431_1338299692_119246e5b9caaa1749997c73ed092fe8.jpg resize: (1080, 1632) 1338299692 -6.058369047703668 treat image : temp/1739866949_2843431_1338299660_8915595d57a01e1d31eaef5d33a737e1.jpg resize: (1080, 1632) 1338299660 -2.0964294722469785 treat image : temp/1739866949_2843431_1338299656_d1c7e2abc9d8d10675a5f9d5966f4794.jpg resize: (1080, 1632) 1338299656 -3.3465288741003874 treat image : temp/1739866949_2843431_1338299652_6d699af1959a09cec94a190dafe73ffd.jpg resize: (1080, 1632) 1338299652 -4.246314917249565 treat image : temp/1739866949_2843431_1338299648_72ec8c2a9bfbb36a9587dc8c70a6b2df.jpg resize: (1080, 1632) 1338299648 -6.074251075769092 treat image : temp/1739866949_2843431_1338299620_11c4faaaa1887747a7390ca7f4bd4e49.jpg resize: (1080, 1632) 1338299620 -5.033142326298451 treat image : temp/1739866949_2843431_1338299615_542da6de6e9c3a04cf2337ca5ead8e9f.jpg resize: (1080, 1632) 1338299615 -5.738758748227479 treat image : temp/1739866949_2843431_1338299610_2fd452b44ce5435c6f2225e0e25a86d7.jpg resize: (1080, 1632) 1338299610 -5.564143337131809 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.013800621032714844 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.08782243728637695 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015161991119384766 save missing photos in datou_result : time spend for datou_step_exec : 19.467512369155884 time spend to save output : 0.12118840217590332 total time spend for step 1 : 19.588700771331787 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.57user 6.85system 0:26.43elapsed 84%CPU (0avgtext+0avgdata 138480maxresident)k 168inputs+11192outputs (15major+251436minor)pagefaults 0swaps