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 : 3102452 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 : 5606>100 please execute split_portfolio.py -i 25516015 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3403011'] with mtr_portfolio_ids : ['25516015'] and first list_photo_ids : [] new path : /proc/3102452/ 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.5056371688842773 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 Jul 31 17:17: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/1753975050_3102452_1374621854_64e11b9557f24814cb0474db16e42f41.jpg resize: (1080, 1632) 1374621854 -3.7776186944404317 treat image : temp/1753975050_3102452_1374621853_26a3e7c8acd6f20cfd2593fda076afd8.jpg resize: (1080, 1632) 1374621853 -5.104682636728021 treat image : temp/1753975050_3102452_1374621852_2c9633efbaf5c5ef8d16c10256415d16.jpg resize: (1080, 1632) 1374621852 -1.159348603316964 treat image : temp/1753975050_3102452_1374621850_7ebf631ddaa1d46f52de356145014cb8.jpg resize: (1080, 1632) 1374621850 -2.8849943999041203 treat image : temp/1753975050_3102452_1374621848_5adc39c14e7c853d426a08b0e5d7b10c.jpg resize: (1080, 1632) 1374621848 -3.3343996577461574 treat image : temp/1753975050_3102452_1374621846_0782ddd25cf61074304e0dead26ddbda.jpg resize: (1080, 1632) 1374621846 -4.951693529585859 treat image : temp/1753975050_3102452_1374621839_fe60de4f379d966401e12a509d526525.jpg resize: (1080, 1632) 1374621839 -1.7903251431320235 treat image : temp/1753975050_3102452_1374621835_90abac58493bb5cca41126a2c7dbc749.jpg resize: (1080, 1632) 1374621835 -4.116766864322309 treat image : temp/1753975050_3102452_1374621831_6b18dfc1858fd07d0546cc7025d5fe51.jpg resize: (1080, 1632) 1374621831 -4.883643075129834 treat image : temp/1753975050_3102452_1374621829_dc6481e7fc45ec315b21ee873e0c7154.jpg resize: (1080, 1632) 1374621829 -6.111076915505356 treat image : temp/1753975050_3102452_1374621826_729f1e2bbb7fd83e9198e40494650088.jpg resize: (1080, 1632) 1374621826 -6.181082834965827 treat image : temp/1753975050_3102452_1374621821_73d17152def47437b77aafed14ff866f.jpg resize: (1080, 1632) 1374621821 -6.108197185139569 treat image : temp/1753975050_3102452_1374621812_7aee7da873ccd3cb3cb60412bd61d2c0.jpg resize: (1080, 1632) 1374621812 -5.903254461445547 treat image : temp/1753975050_3102452_1374621809_4af1f7faf36270519bd151cf1f2a3df0.jpg resize: (1080, 1632) 1374621809 -5.619201837846724 treat image : temp/1753975050_3102452_1374621807_26ea5cf00183f33b4e5ff5d5b1a31d67.jpg resize: (1080, 1632) 1374621807 -5.495271901609803 treat image : temp/1753975050_3102452_1374621805_3a10a907348d121d9975aa51a46fa30a.jpg resize: (1080, 1632) 1374621805 -5.642558370399064 treat image : temp/1753975050_3102452_1374621802_e0c6e99ac8f8aceb0fd0bf10be4d3bb6.jpg resize: (1080, 1632) 1374621802 -3.4169078259231034 treat image : temp/1753975050_3102452_1374621797_729cd473d096cc19914b20db1bcc435a.jpg resize: (1080, 1632) 1374621797 -2.3484775620029943 treat image : temp/1753975050_3102452_1374621719_c7ee49cafa7b4d7b2f24f0225ab3646b.jpg resize: (1080, 1632) 1374621719 -5.093530354855912 treat image : temp/1753975050_3102452_1374621717_61ca6055146f80e0cc2189b89a1aa09c.jpg resize: (1080, 1632) 1374621717 -2.657449584426167 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.01469278335571289 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.012946605682373047 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017052412033081055 save missing photos in datou_result : time spend for datou_step_exec : 14.964508533477783 time spend to save output : 0.04901933670043945 total time spend for step 1 : 15.013527870178223 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.29user 3.50system 0:21.79elapsed 81%CPU (0avgtext+0avgdata 138832maxresident)k 128inputs+9024outputs (5major+205980minor)pagefaults 0swaps