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 : 3745610 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 : 3223>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/3745610/ 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.184255361557007 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 20:07: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/1747764448_3745610_1359850974_749f69b53dca95738d3924fbecd8ae8b.jpg resize: (1080, 1632) 1359850974 -4.690070451892612 treat image : temp/1747764448_3745610_1359850944_c1e4481239ea910ce752c492f9cb8d91.jpg resize: (1080, 1632) 1359850944 -4.539816965937942 treat image : temp/1747764448_3745610_1359850914_c395616ed4efa736b690357a9e20d82b.jpg resize: (1080, 1632) 1359850914 -4.698294522240605 treat image : temp/1747764448_3745610_1359850883_63f2b0b686798a567dc547ed24721c48.jpg resize: (1080, 1632) 1359850883 -4.9854215020391335 treat image : temp/1747764448_3745610_1359850729_c689cab782bf0db1cc27b5523504826d.jpg resize: (1080, 1632) 1359850729 -2.2025528042343483 treat image : temp/1747764448_3745610_1359850726_dbc7a7f0fc8b0719c1640c3c95b3f704.jpg resize: (1080, 1632) 1359850726 -4.4073492665915115 treat image : temp/1747764448_3745610_1359850722_b46b8f26a776755486d4ef77572274aa.jpg resize: (1080, 1632) 1359850722 -4.119660120881449 treat image : temp/1747764448_3745610_1359850717_860f6f33907aa790c6a98f5951deb21e.jpg resize: (1080, 1632) 1359850717 -5.503567651561676 treat image : temp/1747764448_3745610_1359850713_139d540f47257b96f07996f2f4f74ed7.jpg resize: (1080, 1632) 1359850713 -4.735211422692184 treat image : temp/1747764448_3745610_1359850574_11a45095df5b9299909c701f16f9755c.jpg resize: (1080, 1632) 1359850574 -2.157144379023453 treat image : temp/1747764448_3745610_1359850569_169cd54f38934c37b8b0956c68f03bb6.jpg resize: (1080, 1632) 1359850569 -1.1607573099221997 treat image : temp/1747764448_3745610_1359850401_613d61ea0dd0b1136cc91b77d2e44f90.jpg resize: (1080, 1632) 1359850401 -5.146427809083766 treat image : temp/1747764448_3745610_1359850388_82887268b12fcc1a4c24a0b57233a62d.jpg resize: (1080, 1632) 1359850388 -3.1395079904488687 treat image : temp/1747764448_3745610_1359850383_7eb17a2abfef23fbb2a7835cdcd13864.jpg resize: (1080, 1632) 1359850383 -5.049783337383519 treat image : temp/1747764448_3745610_1359850364_2d6a1719e704a3f0cdfc7dd5f1d7e317.jpg resize: (1080, 1632) 1359850364 -3.587447521425666 treat image : temp/1747764448_3745610_1359850357_ab00fd3121c9882f8d5eb59c30842f24.jpg resize: (1080, 1632) 1359850357 -5.29600075145429 treat image : temp/1747764448_3745610_1359850267_5ab64db4b5ed1c6adfa6f222ec8dadf5.jpg resize: (1080, 1632) 1359850267 -4.28458909825635 treat image : temp/1747764448_3745610_1359850265_90d95538572a90c0101295061c072aa5.jpg resize: (1080, 1632) 1359850265 -3.0838194051443755 treat image : temp/1747764448_3745610_1359850262_7f93ed0a4fc75c4804f804306fe7a893.jpg resize: (1080, 1632) 1359850262 -4.862545394619194 treat image : temp/1747764448_3745610_1359850259_56731a06240f169bf54fdc88e082b09c.jpg resize: (1080, 1632) 1359850259 -4.399053136495385 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.01462101936340332 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.01587986946105957 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01895284652709961 save missing photos in datou_result : time spend for datou_step_exec : 18.301607608795166 time spend to save output : 0.05494403839111328 total time spend for step 1 : 18.35655164718628 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.10user 5.69system 0:24.52elapsed 84%CPU (0avgtext+0avgdata 139804maxresident)k 3256inputs+8656outputs (28major+255656minor)pagefaults 0swaps