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 : 3797229 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 : 3600>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3797229/ 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.296456813812256 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 Jul 9 19:17: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/1752081448_3797229_1371428868_e2c15bcf7d19ecc02a26d223c7bc71f6.jpg resize: (1080, 1632) 1371428868 -4.907264179664841 treat image : temp/1752081448_3797229_1371428867_94b9e8f94eccadb2c1727a98f330c6f0.jpg resize: (1080, 1632) 1371428867 -4.945790254117638 treat image : temp/1752081448_3797229_1371428866_6e38200869101c1c1aa9e7da2bc2f6a7.jpg resize: (1080, 1632) 1371428866 -4.8588520212211765 treat image : temp/1752081448_3797229_1371428865_4d9373995ac671cc7e22aa18d21bdfd1.jpg resize: (1080, 1632) 1371428865 -4.912272609802185 treat image : temp/1752081448_3797229_1371428864_fafb641f8cc4761cec72f9922b41b96d.jpg resize: (1080, 1632) 1371428864 -4.786803748329793 treat image : temp/1752081448_3797229_1371428863_0c9aa613a5f5a4173819daa52f90f232.jpg resize: (1080, 1632) 1371428863 -4.718837969921229 treat image : temp/1752081448_3797229_1371428860_8e169ec7b8531ab8617637c59713fd86.jpg resize: (1080, 1632) 1371428860 -5.175859061787325 treat image : temp/1752081448_3797229_1371428859_7006bb8709b60397149aeda7b712de4a.jpg resize: (1080, 1632) 1371428859 -5.125502132373077 treat image : temp/1752081448_3797229_1371428857_ad8634f6a1b5b6fe6b3a23a09919d4b5.jpg resize: (1080, 1632) 1371428857 -5.1353225488447185 treat image : temp/1752081448_3797229_1371428855_b22c21d682975039943b13818cf25147.jpg resize: (1080, 1632) 1371428855 -5.397207263111057 treat image : temp/1752081448_3797229_1371428853_9e2c2f1849111fecbceab7f9baa8ecb8.jpg resize: (1080, 1632) 1371428853 -5.43086554897753 treat image : temp/1752081448_3797229_1371428850_8f4ade44526ccf5c440c1c110d739358.jpg resize: (1080, 1632) 1371428850 -5.546976324714314 treat image : temp/1752081448_3797229_1371428848_f23391f544db3d0615abf56e41aafe90.jpg resize: (1080, 1632) 1371428848 -4.79295152716833 treat image : temp/1752081448_3797229_1371428847_1a30f152435da40428e279695534f2d5.jpg resize: (1080, 1632) 1371428847 -3.3461796124903955 treat image : temp/1752081448_3797229_1371428846_da4eecc5d21d7012764fd7ca67aae65a.jpg resize: (1080, 1632) 1371428846 -1.6384578838377446 treat image : temp/1752081448_3797229_1371428845_10f1357cb7474ca93196bebba9d17f75.jpg resize: (1080, 1632) 1371428845 -2.4927244153490955 treat image : temp/1752081448_3797229_1371428844_178d5be60e8b078fa0c8e116afc5aa53.jpg resize: (1080, 1632) 1371428844 -2.538088956107268 treat image : temp/1752081448_3797229_1371428843_e752fd229c8b61240e4c943e570da9ca.jpg resize: (1080, 1632) 1371428843 -1.9398612428069686 treat image : temp/1752081448_3797229_1371428840_b20a93bd62a71956580e4660388de16f.jpg resize: (1080, 1632) 1371428840 -4.54975777671958 treat image : temp/1752081448_3797229_1371428838_ecc9e73304c76264803c44418b13a8b4.jpg resize: (1080, 1632) 1371428838 -4.526510296012718 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.0130157470703125 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.012873172760009766 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014911174774169922 save missing photos in datou_result : time spend for datou_step_exec : 13.408719539642334 time spend to save output : 0.045920610427856445 total time spend for step 1 : 13.45464015007019 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.23user 1.58system 0:19.38elapsed 81%CPU (0avgtext+0avgdata 139560maxresident)k 80inputs+8816outputs (5major+128340minor)pagefaults 0swaps