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 : 3551628 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 : 2262>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/3551628/ 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.3033018112182617 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 17:12: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/1752073947_3551628_1371417108_5af421ce85026ddd2e9d31c3d7a415f5.jpg resize: (1080, 1632) 1371417108 -5.446676122345945 treat image : temp/1752073947_3551628_1371417107_48e612fdbe6816ebe15b6475da5e0713.jpg resize: (1080, 1632) 1371417107 -5.450826851602933 treat image : temp/1752073947_3551628_1371417104_42a15e1a7619c6be854031fb35c77fe9.jpg resize: (1080, 1632) 1371417104 -4.378162481669368 treat image : temp/1752073947_3551628_1371417102_fa0f9ea5e3514073eda66bf1c5b4028c.jpg resize: (1080, 1632) 1371417102 -4.373027392323889 treat image : temp/1752073947_3551628_1371417101_f6de8be4e23bfd00041d4aa0bd6250d4.jpg resize: (1080, 1632) 1371417101 -2.525370627751667 treat image : temp/1752073947_3551628_1371417100_1dc947495967224d7589aacbd11e2a8d.jpg resize: (1080, 1632) 1371417100 -3.7809831172999906 treat image : temp/1752073947_3551628_1371416990_bfa41d4c87caa4f588f6b5dbe154d9ab.jpg resize: (1080, 1632) 1371416990 -5.841926758511609 treat image : temp/1752073947_3551628_1371416989_6b375820e7431d09bdd0ba2633699ab4.jpg resize: (1080, 1632) 1371416989 -5.841926758511609 treat image : temp/1752073947_3551628_1371416986_43de83c7a77a9ad58eef4bc2cd049a73.jpg resize: (1080, 1632) 1371416986 -5.822603754807996 treat image : temp/1752073947_3551628_1371416985_d8c91bd37f14fd66739f85b207278f50.jpg resize: (1080, 1632) 1371416985 -5.822603754807996 treat image : temp/1752073947_3551628_1371416982_fe457ce55b3d77d13066865618747451.jpg resize: (1080, 1632) 1371416982 -5.839196446781931 treat image : temp/1752073947_3551628_1371416981_98618019e076fb9c42eade62a5a229c4.jpg resize: (1080, 1632) 1371416981 -5.839196446781931 treat image : temp/1752073947_3551628_1371416980_1719d491cb7454b96d024aa4e86a8270.jpg resize: (1080, 1632) 1371416980 -3.4636871812184986 treat image : temp/1752073947_3551628_1371416979_9d1144104bd92d01a57fe019dcc8038a.jpg resize: (1080, 1632) 1371416979 -3.4636871812184986 treat image : temp/1752073947_3551628_1371416977_60c509e86c290e5d806e49cf024a1481.jpg resize: (1080, 1632) 1371416977 -4.270370212113337 treat image : temp/1752073947_3551628_1371416976_afde7e17bd71f52c66cb40a0ee83e422.jpg resize: (1080, 1632) 1371416976 -4.270370212113337 treat image : temp/1752073947_3551628_1371416970_50999c6663672dde634ac072e9abb123.jpg resize: (1080, 1632) 1371416970 -4.838670487837951 treat image : temp/1752073947_3551628_1371416968_f2fcc2f0f0a7367572971ce50f52bc4d.jpg resize: (1080, 1632) 1371416968 -4.863927783254365 treat image : temp/1752073947_3551628_1371416964_fcefee1537e4bd5b1821eb3e6eae640c.jpg resize: (1080, 1632) 1371416964 -5.246273130324998 treat image : temp/1752073947_3551628_1371416961_c77f91fd390f5b3dbffbb0586a970a33.jpg resize: (1080, 1632) 1371416961 -4.680234603326696 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.01580810546875 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.012913942337036133 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01582932472229004 save missing photos in datou_result : time spend for datou_step_exec : 16.868343830108643 time spend to save output : 0.04901719093322754 total time spend for step 1 : 16.91736102104187 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.90user 4.26system 0:21.06elapsed 91%CPU (0avgtext+0avgdata 138852maxresident)k 1504inputs+9576outputs (18major+249585minor)pagefaults 0swaps