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 : 169075 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/169075/ 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 : 3.1487059593200684 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 Fri Jul 18 22:27: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/1752870446_169075_1372318395_0501120d1301761d2b233abddccff395.jpg resize: (1080, 1632) 1372318395 -4.460014497120124 treat image : temp/1752870446_169075_1372318391_c39eb72f48ba360dd744584447edf629.jpg resize: (1080, 1632) 1372318391 -3.8948060654727246 treat image : temp/1752870446_169075_1372318375_af15942552c6ce643cf79f85d28c3dc9.jpg resize: (1080, 1632) 1372318375 -5.073395527956818 treat image : temp/1752870446_169075_1372318371_ef275b7f7f54327af6a060c13ddebb21.jpg resize: (1080, 1632) 1372318371 -4.435532426475384 treat image : temp/1752870446_169075_1372318368_c313d6ee7b32b44c97f75727a30993ee.jpg resize: (1080, 1632) 1372318368 -4.437091442704996 treat image : temp/1752870446_169075_1372318366_103db0926fdd51e56aa1fea8246ba618.jpg resize: (1080, 1632) 1372318366 -4.471599844819577 treat image : temp/1752870446_169075_1372318364_ccb882f1ead4abf914ed71a053ed7ef2.jpg resize: (1080, 1632) 1372318364 -4.745601884702756 treat image : temp/1752870446_169075_1372318361_c9f14d467e9ee5a8b31dc145abe0d248.jpg resize: (1080, 1632) 1372318361 -4.751544064120349 treat image : temp/1752870446_169075_1372318342_0260326eb70867f1468b0af7934828be.jpg resize: (1080, 1632) 1372318342 -3.239846563473755 treat image : temp/1752870446_169075_1372318340_9ce208b8cb399fede58a994a080078f5.jpg resize: (1080, 1632) 1372318340 -4.58861031212675 treat image : temp/1752870446_169075_1372318336_31529218fe2c99046fea140c2a7c37f0.jpg resize: (1080, 1632) 1372318336 -4.593219585115913 treat image : temp/1752870446_169075_1372318334_2e07229ab7f89bb7ed94d60cb42834fe.jpg resize: (1080, 1632) 1372318334 -4.588497484811432 treat image : temp/1752870446_169075_1372318333_907fe9fee792c7e11870eb558cd9c747.jpg resize: (1080, 1632) 1372318333 -4.63550318157744 treat image : temp/1752870446_169075_1372318330_0b42d7a0a6b0bf70b85cf790f7b26011.jpg resize: (1080, 1632) 1372318330 -5.060695688407611 treat image : temp/1752870446_169075_1372318308_eb071214999217f0839ccd6d8d004879.jpg resize: (1080, 1632) 1372318308 -4.45809556139227 treat image : temp/1752870446_169075_1372318302_4b185f0adb0c3acbe3ae1a904ddb1da6.jpg resize: (1080, 1632) 1372318302 -1.5757221561999237 treat image : temp/1752870446_169075_1372318296_f0f5b408b686493664a8958872e1d6ed.jpg resize: (1080, 1632) 1372318296 -2.3015704269625443 treat image : temp/1752870446_169075_1372318293_644f7428ad9aed7e75c74821d5ffd462.jpg resize: (1080, 1632) 1372318293 -2.304221601035863 treat image : temp/1752870446_169075_1372318290_364f2171afec8cae5aeb78204c7fe935.jpg resize: (1080, 1632) 1372318290 -2.379584595683439 treat image : temp/1752870446_169075_1372318287_504ba8695491c3b7a8e9da70e74150d1.jpg resize: (1080, 1632) 1372318287 -1.4533282516500148 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.012862920761108398 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.011996269226074219 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014801263809204102 save missing photos in datou_result : time spend for datou_step_exec : 15.478400945663452 time spend to save output : 0.04394388198852539 total time spend for step 1 : 15.522344827651978 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.93user 4.19system 0:21.17elapsed 85%CPU (0avgtext+0avgdata 138896maxresident)k 0inputs+8152outputs (4major+255021minor)pagefaults 0swaps