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 : 1367838 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 : 2603>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1367838/ 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.353381633758545 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 Sep 9 16:02: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/1757426549_1367838_1382781449_d04cf9c22c1ef9cdd2ee98b96082045d.jpg resize: (1080, 1632) 1382781449 -1.623111665725403 treat image : temp/1757426549_1367838_1382781446_e7aca3e7ac8ff3520ba956a8595838ce.jpg resize: (1080, 1632) 1382781446 -3.667977502612779 treat image : temp/1757426549_1367838_1382781444_fadbcb5ff4d1a69b8e46d43be39274a1.jpg resize: (1080, 1632) 1382781444 -0.042471880639721064 treat image : temp/1757426549_1367838_1382781440_e66d8ba94c3f605f344f3d3625790517.jpg resize: (1080, 1632) 1382781440 -2.850665335340556 treat image : temp/1757426549_1367838_1382781394_57296b67996e19f930e22fa2059276d2.jpg resize: (1080, 1632) 1382781394 -5.408398072496619 treat image : temp/1757426549_1367838_1382781390_da28c57da387b3104d0bb84cd24c66c5.jpg resize: (1080, 1632) 1382781390 -5.432326541833948 treat image : temp/1757426549_1367838_1382781386_4b144158233840118e88c8c6e857fe3a.jpg resize: (1080, 1632) 1382781386 -4.591762293234295 treat image : temp/1757426549_1367838_1382781381_7ab222f07cebb9ebc98eb5b58d65cbf0.jpg resize: (1080, 1632) 1382781381 -4.333782158312031 treat image : temp/1757426549_1367838_1382781377_209034627c1e7eaf99279008b9967c63.jpg resize: (1080, 1632) 1382781377 -2.1385461048359335 treat image : temp/1757426549_1367838_1382781369_ee4e1012fa1d91b44728b9b852f3821e.jpg resize: (1080, 1632) 1382781369 -3.7723224321034907 treat image : temp/1757426549_1367838_1382781367_ec04be6926b768a82e981cd78af5d9d8.jpg resize: (1080, 1632) 1382781367 -1.7955653369591078 treat image : temp/1757426549_1367838_1382781364_10a0df43b58fb1cbe1c351814ddc4322.jpg resize: (1080, 1632) 1382781364 -1.943521675520794 treat image : temp/1757426549_1367838_1382781361_3568fa5423f55d2c05365040ff6f7180.jpg resize: (1080, 1632) 1382781361 -4.100550476847789 treat image : temp/1757426549_1367838_1382781358_4d734ac63221d691600ff3a4a667ef05.jpg resize: (1080, 1632) 1382781358 -5.442852773515898 treat image : temp/1757426549_1367838_1382781354_0be1f449206589a4a912ec17367d4cde.jpg resize: (1080, 1632) 1382781354 -5.46443325416709 treat image : temp/1757426549_1367838_1382781344_8efffed441a271024e32b6129f808c34.jpg resize: (1080, 1632) 1382781344 -5.5257656786031575 treat image : temp/1757426549_1367838_1382781341_fc7b49247908b9d64eaec05fa030b13c.jpg resize: (1080, 1632) 1382781341 -5.3638597850440615 treat image : temp/1757426549_1367838_1382781337_43ef9c2827e6e89e3e42374622e206ef.jpg resize: (1080, 1632) 1382781337 -4.5542434112076435 treat image : temp/1757426549_1367838_1382781334_ce06e18a9160e5b7a7b826e9249e1ec9.jpg resize: (1080, 1632) 1382781334 -3.7418128358015053 treat image : temp/1757426549_1367838_1382781330_c18bedb9baf2f266bb625d0fc381c8be.jpg resize: (1080, 1632) 1382781330 -3.3095490361501714 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.04078841209411621 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.03996133804321289 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04126596450805664 save missing photos in datou_result : time spend for datou_step_exec : 14.94307804107666 time spend to save output : 0.14089345932006836 total time spend for step 1 : 15.083971500396729 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.93user 3.34system 0:21.77elapsed 79%CPU (0avgtext+0avgdata 139356maxresident)k 0inputs+8840outputs (13major+250497minor)pagefaults 0swaps