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 : 398131 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 : 2635>100 please execute split_portfolio.py -i 20860610 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2618064'] with mtr_portfolio_ids : ['20860610'] and first list_photo_ids : [] new path : /proc/398131/ 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.2650763988494873 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 27 17: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/1740673948_398131_1339951447_7e90100b56287206bdd70233a6b6e4c1.jpg resize: (1080, 1632) 1339951447 -5.775837592122145 treat image : temp/1740673948_398131_1339951338_f97e3dcec8f53cc4a4b8ff78037166e2.jpg resize: (1080, 1632) 1339951338 -5.710060216593287 treat image : temp/1740673948_398131_1339951284_8f6297a6e33458ee9c32d41dadb2e2e9.jpg resize: (1080, 1632) 1339951284 -6.247616873122599 treat image : temp/1740673948_398131_1339951278_f92e9222af2258e5a3ba8c009be84bec.jpg resize: (1080, 1632) 1339951278 -5.633083988935123 treat image : temp/1740673948_398131_1339951273_3c235647a4f22d2777bc5162b2cb4902.jpg resize: (1080, 1632) 1339951273 -4.366038107505689 treat image : temp/1740673948_398131_1339951268_839381770e72d38cf4d41ddec7f129ea.jpg resize: (1080, 1632) 1339951268 -2.6796814971786853 treat image : temp/1740673948_398131_1339951263_6e58d9ef18b8561a2cd0b0d976ee2418.jpg resize: (1080, 1632) 1339951263 -4.46370540689548 treat image : temp/1740673948_398131_1339951261_6af03a8a3e359d864bc2c418c5c6ddcd.jpg resize: (1080, 1632) 1339951261 -2.838704754117956 treat image : temp/1740673948_398131_1339951259_157102dcb27b751a7afe5187e9437f01.jpg resize: (1080, 1632) 1339951259 -5.645057260132699 treat image : temp/1740673948_398131_1339951237_415b9b4d3f59a13d16ee4b3fd2d8fac4.jpg resize: (1080, 1632) 1339951237 -6.299134498976118 treat image : temp/1740673948_398131_1339951235_7abf96bfd52ceb0d98f9f7cde8f1eab1.jpg resize: (1080, 1632) 1339951235 -6.43975461608721 treat image : temp/1740673948_398131_1339951232_b9a7c514a215ceb9ca80df3438db694d.jpg resize: (1080, 1632) 1339951232 -5.626721929866569 treat image : temp/1740673948_398131_1339951219_7e681483092d288fd4cc2dd8587e3b68.jpg resize: (1080, 1632) 1339951219 -5.892972713896494 treat image : temp/1740673948_398131_1339951213_372bb26d282427b93c9a459c755a3c7a.jpg resize: (1080, 1632) 1339951213 -5.681564457769335 treat image : temp/1740673948_398131_1339951205_790b42ee6761dd602fb75b56cc80d3f9.jpg resize: (1080, 1632) 1339951205 -6.605616358339062 treat image : temp/1740673948_398131_1339951200_5c6b03e49cdac830f380002659e36358.jpg resize: (1080, 1632) 1339951200 -6.592500389192382 treat image : temp/1740673948_398131_1339951182_c899b634301199545bdc6db5f3e0327b.jpg resize: (1080, 1632) 1339951182 -6.054713540346634 treat image : temp/1740673948_398131_1339951173_adc1cc2e66b60cdf4cdeb453921cc91d.jpg resize: (1080, 1632) 1339951173 -6.185207554961703 treat image : temp/1740673948_398131_1339950925_72342edaab4cd6fa7b874aec1e5dff47.jpg resize: (1080, 1632) 1339950925 -5.100669545522646 treat image : temp/1740673948_398131_1339950919_becbcdaf631df9402c8f7571c58105c9.jpg resize: (1080, 1632) 1339950919 -5.7134559834835725 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.012721061706542969 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.012711763381958008 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.1360163688659668 save missing photos in datou_result : time spend for datou_step_exec : 15.747751951217651 time spend to save output : 0.16648530960083008 total time spend for step 1 : 15.914237260818481 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.55user 3.79system 0:20.76elapsed 88%CPU (0avgtext+0avgdata 141688maxresident)k 2432inputs+11216outputs (11major+255695minor)pagefaults 0swaps