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 : 751715 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 list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/751715/ 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.2981789112091064 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 Mon May 12 05:12: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/1747019547_751715_1357594987_af881a170b52c2c37e2d0ddf5f95a6a4.jpg resize: (1080, 1632) 1357594987 -6.20999971390486 treat image : temp/1747019547_751715_1357594984_015c6cd22c19b8c4bc9a715f9463c043.jpg resize: (1080, 1632) 1357594984 -5.9462755500743745 treat image : temp/1747019547_751715_1357594959_6c5de923b1e487d7f1a5d31c8604d165.jpg resize: (1080, 1632) 1357594959 -6.052841100576964 treat image : temp/1747019547_751715_1357594955_9667cea167e7c32987225514febcebd9.jpg resize: (1080, 1632) 1357594955 -2.8062144911746003 treat image : temp/1747019547_751715_1357594953_4abab5cb9b55a1f9648c8a72b4d30651.jpg resize: (1080, 1632) 1357594953 -5.594689426373655 treat image : temp/1747019547_751715_1357594952_00dfb480f42a6c3d47f972ec06e9f2d0.jpg resize: (1080, 1632) 1357594952 -5.682907160473726 treat image : temp/1747019547_751715_1357594862_5c17e9fa7314a5de13585b83746b54dc.jpg resize: (1080, 1632) 1357594862 -5.1806211022095505 treat image : temp/1747019547_751715_1357594860_de8de841d5e715d8640c232910f8f952.jpg resize: (1080, 1632) 1357594860 -4.897941378922446 treat image : temp/1747019547_751715_1357594834_d86c1e62569fd04a9fcad9cda3deadfd.jpg resize: (1080, 1632) 1357594834 -1.4939817305926164 treat image : temp/1747019547_751715_1357594771_5d615b66e2e8afac914a8cb3dd3bcb8c.jpg resize: (1080, 1632) 1357594771 -2.7333298971608704 treat image : temp/1747019547_751715_1357594769_93c77217d5fcfa27907d3cab485737cc.jpg resize: (1080, 1632) 1357594769 -1.4086537304674553 treat image : temp/1747019547_751715_1357594656_cd226d28faddaca7a4b6ef9d583ad42c.jpg resize: (1080, 1632) 1357594656 -5.1374256564363225 treat image : temp/1747019547_751715_1357594653_837e794a1eabb896fb4179ddf2cf2295.jpg resize: (1080, 1632) 1357594653 -4.958930421731845 treat image : temp/1747019547_751715_1357594652_798bb0bc4a384385547e7eaed5479fd3.jpg resize: (1080, 1632) 1357594652 -3.16712302332315 treat image : temp/1747019547_751715_1357594651_5cf9a7838f8dad4140b10cf6127a1eaa.jpg resize: (1080, 1632) 1357594651 -5.975448900963747 treat image : temp/1747019547_751715_1357594594_07d9ffc460ba7c7e9dd1881fa1d517c2.jpg resize: (1080, 1632) 1357594594 -6.182489145715682 treat image : temp/1747019547_751715_1357594330_18e8ec7df86ba1e0e6f054f430859fbb.jpg resize: (1080, 1632) 1357594330 -3.3742973922640185 treat image : temp/1747019547_751715_1357594322_42a4dd3956c45b0a063ffd3b4a938951.jpg resize: (1080, 1632) 1357594322 -4.700915209139347 treat image : temp/1747019547_751715_1357594320_8e37ba149ce5f9b2d5b6209f330acf0d.jpg resize: (1080, 1632) 1357594320 -5.053089173051682 treat image : temp/1747019547_751715_1357594311_b3a33203a6e47ff3e9f5ca2a67281c7f.jpg resize: (1080, 1632) 1357594311 -4.632392540889713 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.012654304504394531 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.014058828353881836 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014873743057250977 save missing photos in datou_result : time spend for datou_step_exec : 15.471060037612915 time spend to save output : 0.04664874076843262 total time spend for step 1 : 15.517708778381348 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.53user 3.38system 0:20.92elapsed 85%CPU (0avgtext+0avgdata 140652maxresident)k 88inputs+9144outputs (0major+255883minor)pagefaults 0swaps