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 : 621808 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 : 4791>100 please execute split_portfolio.py -i 19382293 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2460022'] with mtr_portfolio_ids : ['19382293'] and first list_photo_ids : [] new path : /proc/621808/ 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.0827648639678955 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 Wed Mar 26 02:22: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/1742952147_621808_1333386008_fd8a7d50424fddb771acd1b7f4c112a3.jpg resize: (1080, 1632) 1333386008 1.0628452203137524 treat image : temp/1742952147_621808_1333385777_b7d16bd99aa6dbd1728b260924ab821e.jpg resize: (1080, 1632) 1333385777 1.2150678378747293 treat image : temp/1742952147_621808_1333385776_de4e930ec534d9423e4667b45af4a6f0.jpg resize: (1080, 1632) 1333385776 1.4286359174077163 treat image : temp/1742952147_621808_1333385773_7db91d30263092b8bd9d28673a57e357.jpg resize: (1080, 1632) 1333385773 2.045877607821125 treat image : temp/1742952147_621808_1333385771_4240e1ee5788f11472b5dd7f3bbd58d7.jpg resize: (1080, 1632) 1333385771 4.641901470108618 treat image : temp/1742952147_621808_1333385726_953142c95ae281c027dd0bd757b8fbea.jpg resize: (1080, 1632) 1333385726 5.108349458149395 treat image : temp/1742952147_621808_1333385632_2b36c6f6dfa49d4fe38e4fb97bb2dbe7.jpg resize: (1080, 1632) 1333385632 6.158039195668012 treat image : temp/1742952147_621808_1333384846_cc03005d867dea30f3d6de2cf1e172db.jpg resize: (1080, 1632) 1333384846 4.36921671504393 treat image : temp/1742952147_621808_1333384774_e8191071e3cf6b4735b0f1d2b86ade87.jpg resize: (1080, 1632) 1333384774 3.6842195953358616 treat image : temp/1742952147_621808_1333384771_a15d2d3c6c4b37720fe5bff6793082e0.jpg resize: (1080, 1632) 1333384771 2.359395872314055 treat image : temp/1742952147_621808_1333384769_2b3c867b14d799bdb45e191564eab732.jpg resize: (1080, 1632) 1333384769 4.883294184173841 treat image : temp/1742952147_621808_1333384767_069dae73ee1ff14ed687a514b7df650e.jpg resize: (1080, 1632) 1333384767 0.6165388073080109 treat image : temp/1742952147_621808_1333384764_c5196c8245789b36d9b6e3b761854f8c.jpg resize: (1080, 1632) 1333384764 1.0855095255310228 treat image : temp/1742952147_621808_1333384681_e7b852f837a90f5b3ff1a1457932c995.jpg resize: (1080, 1632) 1333384681 2.449290407393201 treat image : temp/1742952147_621808_1333384680_5f3990244f1191d309392b821e5e05ae.jpg resize: (1080, 1632) 1333384680 4.948562098873913 treat image : temp/1742952147_621808_1333384677_56175e7c55e92ea1fe3dfc28fc4b9971.jpg resize: (1080, 1632) 1333384677 5.309656670027828 treat image : temp/1742952147_621808_1333384674_e9ee7536e3581db5e2a38e33af4586da.jpg resize: (1080, 1632) 1333384674 5.428840857943906 treat image : temp/1742952147_621808_1333384671_47f65c7c62fefebbb31097e378d9b371.jpg resize: (1080, 1632) 1333384671 4.043164647747786 treat image : temp/1742952147_621808_1333384661_28a8f0a7a0af293916d8b32aa398dbcc.jpg resize: (1080, 1632) 1333384661 5.134374428063509 treat image : temp/1742952147_621808_1333384614_cf5d125586c332b59c624ab5a9ffa8ae.jpg resize: (1080, 1632) 1333384614 4.992183934156529 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.012484550476074219 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.21687841415405273 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014990091323852539 save missing photos in datou_result : time spend for datou_step_exec : 16.839120388031006 time spend to save output : 0.2661914825439453 total time spend for step 1 : 17.10531187057495 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.37user 4.98system 0:23.56elapsed 82%CPU (0avgtext+0avgdata 137752maxresident)k 6680inputs+2672outputs (85major+251011minor)pagefaults 0swaps