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 : 2865512 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 : 2338>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/2865512/ 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.3355977535247803 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 Tue May 20 15: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/1747748847_2865512_1359820238_e4e8c199ab27a2a2e2e5c9bccbd7a505.jpg resize: (1080, 1632) 1359820238 -1.6490734075257723 treat image : temp/1747748847_2865512_1359820232_47dad798d09c21e7e721a5fad78efad8.jpg resize: (1080, 1632) 1359820232 -1.5458624824958498 treat image : temp/1747748847_2865512_1359820227_b7e630d10179e0b800ca2d48554702ab.jpg resize: (1080, 1632) 1359820227 -3.4588685879504104 treat image : temp/1747748847_2865512_1359820222_8a140a6a799102feb281a156f9cb0322.jpg resize: (1080, 1632) 1359820222 -4.813109766246992 treat image : temp/1747748847_2865512_1359820197_64f0ad318f7ba2dbd6a84c8712731d76.jpg resize: (1080, 1632) 1359820197 -3.3934447412126953 treat image : temp/1747748847_2865512_1359820191_c2cebad6e8ae3c725cbbbce919cfaafe.jpg resize: (1080, 1632) 1359820191 -3.8574640219372784 treat image : temp/1747748847_2865512_1359820182_24f37e2fb8f4491d0efa84da5e4558db.jpg resize: (1080, 1632) 1359820182 -5.300341378249554 treat image : temp/1747748847_2865512_1359820177_13d6a43f0672ad9417b1817cbc58b56b.jpg resize: (1080, 1632) 1359820177 -3.8707142478326695 treat image : temp/1747748847_2865512_1359820174_5cc6fcf5d3451d74e1bb5991a10f71e8.jpg resize: (1080, 1632) 1359820174 -4.266123977660352 treat image : temp/1747748847_2865512_1359820145_ae9bd79c9c4f1d2b7f53722495e71e13.jpg resize: (1080, 1632) 1359820145 -3.883864498595812 treat image : temp/1747748847_2865512_1359820141_aa5d94da4aea9037b9c19583b5c1781a.jpg resize: (1080, 1632) 1359820141 -3.350359133705581 treat image : temp/1747748847_2865512_1359820138_87c7dca63ae3931aa1570b4675434f5b.jpg resize: (1080, 1632) 1359820138 -5.20910848588758 treat image : temp/1747748847_2865512_1359820134_d70cb8a6e5096f59ebfcea9437a9354d.jpg resize: (1080, 1632) 1359820134 -5.888848488180345 treat image : temp/1747748847_2865512_1359820127_8ce92ced7a0260627cfecb749ee23ce4.jpg resize: (1080, 1632) 1359820127 -5.864485068356625 treat image : temp/1747748847_2865512_1359820115_f239527d2a9d5e8281599d53227595a1.jpg resize: (1080, 1632) 1359820115 -5.557529864297434 treat image : temp/1747748847_2865512_1359820016_1ec7dcc767c751db1d1b5a4a5668c40f.jpg resize: (1080, 1632) 1359820016 -3.143029203650516 treat image : temp/1747748847_2865512_1359820012_55c9a646ef4f698aa0df8b290e5c3ed9.jpg resize: (1080, 1632) 1359820012 -6.306763341873153 treat image : temp/1747748847_2865512_1359820007_80a58e0d1cde03ff89fa5d28468c5cfc.jpg resize: (1080, 1632) 1359820007 -1.4333767606274603 treat image : temp/1747748847_2865512_1359819921_b174d737d2518ffb046179b304064afe.jpg resize: (1080, 1632) 1359819921 -6.1123508602041445 treat image : temp/1747748847_2865512_1359819902_ba8c11f6b5c8e7646f759f229a7b372e.jpg resize: (1080, 1632) 1359819902 -5.71807031524405 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.01581716537475586 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.015263557434082031 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01556086540222168 save missing photos in datou_result : time spend for datou_step_exec : 17.7551691532135 time spend to save output : 0.061754465103149414 total time spend for step 1 : 17.81692361831665 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.20user 4.93system 0:22.77elapsed 88%CPU (0avgtext+0avgdata 139152maxresident)k 13720inputs+9616outputs (105major+264041minor)pagefaults 0swaps