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 : 3468564 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 : 414>100 please execute split_portfolio.py -i 26046294 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3551387'] with mtr_portfolio_ids : ['26046294'] and first list_photo_ids : [] new path : /proc/3468564/ 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.066486358642578 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 Mon Aug 18 12:32: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/1755513147_3468564_1377698518_d5650e5c84107781d7b05b9fcffb15b4.jpg resize: (1080, 1632) 1377698518 -4.017266616046383 treat image : temp/1755513147_3468564_1377698512_adf6c2af2da6f928e8f53d7d896c0e22.jpg resize: (1080, 1632) 1377698512 -1.3539547179669165 treat image : temp/1755513147_3468564_1377698506_05c916c61cdf14bb5c1d7190f872a322.jpg resize: (1080, 1632) 1377698506 -3.335899459909653 treat image : temp/1755513147_3468564_1377698500_af7c1179ee62e4e826a58e54adfaafd0.jpg resize: (1080, 1632) 1377698500 -5.133821226831336 treat image : temp/1755513147_3468564_1377698495_d8c940de63c9bb31127a735f0f13cc71.jpg resize: (1080, 1632) 1377698495 -5.7059789914513654 treat image : temp/1755513147_3468564_1377698492_2af902db63d56802be8f8befc99f3011.jpg resize: (1080, 1632) 1377698492 -5.3000630642171345 treat image : temp/1755513147_3468564_1377698487_ab1986c0ce77b06d7465ecedcc81f92c.jpg resize: (1080, 1632) 1377698487 -4.968702044432837 treat image : temp/1755513147_3468564_1377698484_c44d134e9e83302bfc0238bd07b40f72.jpg resize: (1080, 1632) 1377698484 -2.1467206545592123 treat image : temp/1755513147_3468564_1377698480_f6cabd5491c14ecc882b2aee307264a3.jpg resize: (1080, 1632) 1377698480 -4.666229573991501 treat image : temp/1755513147_3468564_1377698476_95d923225629f629b6ead7d4c2325ac9.jpg resize: (1080, 1632) 1377698476 -1.7590623633766205 treat image : temp/1755513147_3468564_1377698471_a4afd8d1c8a8d30242a88782c5a7cec4.jpg resize: (1080, 1632) 1377698471 -4.421948309260829 treat image : temp/1755513147_3468564_1377698468_15848d5b7957ece4e07c1924f5b374c2.jpg resize: (1080, 1632) 1377698468 -4.561102487821671 treat image : temp/1755513147_3468564_1377698462_e8054ed66d203fadc255975b6ef64d75.jpg resize: (1080, 1632) 1377698462 -5.289359841927407 treat image : temp/1755513147_3468564_1377698460_abd8a6d5c8317ca6ca1d6d6818493b27.jpg resize: (1080, 1632) 1377698460 -4.102685998742524 treat image : temp/1755513147_3468564_1377698458_29586757434d9d3f248a994320f49b9b.jpg resize: (1080, 1632) 1377698458 0.6073896846932505 treat image : temp/1755513147_3468564_1377698455_e79fba352310d1c21aeb86ecf527e8e6.jpg resize: (1080, 1632) 1377698455 -2.3500422800850065 treat image : temp/1755513147_3468564_1377698449_a916d364bbef29419fa87719c3ee8d75.jpg resize: (1080, 1632) 1377698449 -1.7179528103642132 treat image : temp/1755513147_3468564_1377698439_cb79cc1e414c554b3434e462c5765636.jpg resize: (1080, 1632) 1377698439 -2.2929261798074108 treat image : temp/1755513147_3468564_1377698430_c80e95ed697364a1b43462e2310a476c.jpg resize: (1080, 1632) 1377698430 -4.919727112790617 treat image : temp/1755513147_3468564_1377698426_6978d7f83daf40fcec28522e405b47b4.jpg resize: (1080, 1632) 1377698426 -3.755713606955479 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.01184988021850586 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.011976957321166992 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015033721923828125 save missing photos in datou_result : time spend for datou_step_exec : 14.633594274520874 time spend to save output : 0.044873714447021484 total time spend for step 1 : 14.678467988967896 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.42user 2.56system 0:20.13elapsed 84%CPU (0avgtext+0avgdata 138448maxresident)k 16inputs+8096outputs (0major+260177minor)pagefaults 0swaps