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 : 3307301 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 : 8154>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/3307301/ 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.2796730995178223 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 Sat Jul 5 06:47: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/1751690847_3307301_1370743917_07e91486c15b5e05a9dcc972d3ff67e6.jpg resize: (1080, 1632) 1370743917 -3.7482159914833764 treat image : temp/1751690847_3307301_1370743913_93fe39d6abee0069bfbb960d1162b15d.jpg resize: (1080, 1632) 1370743913 -1.5430102900769145 treat image : temp/1751690847_3307301_1370743911_6192378647abd6ff9c478e96afe37a8e.jpg resize: (1080, 1632) 1370743911 -3.3427194767672033 treat image : temp/1751690847_3307301_1370743908_e1d1c0e34b4a8984a3013ee85a929049.jpg resize: (1080, 1632) 1370743908 -3.3298602026925046 treat image : temp/1751690847_3307301_1370743906_a1fcc02efb7eb20ef92a518a91a567a7.jpg resize: (1080, 1632) 1370743906 -3.345518112114233 treat image : temp/1751690847_3307301_1370743905_d1dea9e2e459c9a74c732b5548026a2d.jpg resize: (1080, 1632) 1370743905 -2.624404941657162 treat image : temp/1751690847_3307301_1370743901_61aac1e28c16c4e0f2c5b6db88a97631.jpg resize: (1080, 1632) 1370743901 -2.99136965628883 treat image : temp/1751690847_3307301_1370743899_358f0344f697f030a1b94562265909cc.jpg resize: (1080, 1632) 1370743899 -2.99136965628883 treat image : temp/1751690847_3307301_1370743898_60236d6a972684b3888c4cdf5ba98a4b.jpg resize: (1080, 1632) 1370743898 -4.8528179450709406 treat image : temp/1751690847_3307301_1370743896_90b56939a90d75d87a584222beb3cf78.jpg resize: (1080, 1632) 1370743896 -4.8528179450709406 treat image : temp/1751690847_3307301_1370743895_f76b51a83ba379ebb34e88bd94c4fa0a.jpg resize: (1080, 1632) 1370743895 -4.841173288231942 treat image : temp/1751690847_3307301_1370743893_778200dc4aa714c24d74feb22cb57334.jpg resize: (1080, 1632) 1370743893 -4.841173288231942 treat image : temp/1751690847_3307301_1370743892_7722ee3f1af78ba5d3ff36b3ec959c50.jpg resize: (1080, 1632) 1370743892 -2.4675322112106723 treat image : temp/1751690847_3307301_1370743890_9e1ab1101b1f318c257b55e3c60e9a94.jpg resize: (1080, 1632) 1370743890 -2.4675322112106723 treat image : temp/1751690847_3307301_1370743889_9714af10a508532d3d4d4ca7cfbf02da.jpg resize: (1080, 1632) 1370743889 -3.7379178171086695 treat image : temp/1751690847_3307301_1370743888_6a49a799e1a41a2e2f31a9b3b14857e4.jpg resize: (1080, 1632) 1370743888 -3.7379178171086695 treat image : temp/1751690847_3307301_1370743881_4e9d9dd9adb3cf7c16b60eaba5ce91e1.jpg resize: (1080, 1632) 1370743881 -5.606084698445009 treat image : temp/1751690847_3307301_1370743873_9ee61850a30278b3164f5d6cb52fe963.jpg resize: (1080, 1632) 1370743873 -5.606084698445009 treat image : temp/1751690847_3307301_1370743833_5aff0ad77251adfd1fdeef552f206f4d.jpg resize: (1080, 1632) 1370743833 -5.600005421314561 treat image : temp/1751690847_3307301_1370743830_3339bede8ee0fb582fddba2f86fb299d.jpg resize: (1080, 1632) 1370743830 -5.308407323017098 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.013754844665527344 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.014017820358276367 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01488804817199707 save missing photos in datou_result : time spend for datou_step_exec : 17.310548543930054 time spend to save output : 0.047598838806152344 total time spend for step 1 : 17.358147382736206 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.32user 4.41system 0:22.54elapsed 87%CPU (0avgtext+0avgdata 137704maxresident)k 1016inputs+8432outputs (42major+259351minor)pagefaults 0swaps