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 : 1925215 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 : 2069>100 please execute split_portfolio.py -i 25516015 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3403011'] with mtr_portfolio_ids : ['25516015'] and first list_photo_ids : [] new path : /proc/1925215/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.021977186203003 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 Thu Jul 31 06:47:31 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/1753937249_1925215_1374547374_7e371e8ed02ba5b863bc102e1ae76ac3.jpg resize: (1080, 1632) 1374547374 -5.853303941963932 treat image : temp/1753937249_1925215_1374547371_44ccf1b121b75e156a6422612b13dee0.jpg resize: (1080, 1632) 1374547371 -5.827794698833529 treat image : temp/1753937249_1925215_1374547369_e024ee2f4c08c037405a557e2c440ff9.jpg resize: (1080, 1632) 1374547369 -5.8865508424687265 treat image : temp/1753937249_1925215_1374547368_e863bac992b1980b2955c89116466072.jpg resize: (1080, 1632) 1374547368 -6.370192576488943 treat image : temp/1753937249_1925215_1374547367_a2cdd25c0a8c60849fd875331d6d37e6.jpg resize: (1080, 1632) 1374547367 -6.348644757117705 treat image : temp/1753937249_1925215_1374547366_303437c2f81c16335104d241e286c797.jpg resize: (1080, 1632) 1374547366 -6.3688912650314995 treat image : temp/1753937249_1925215_1374547354_332a178c0c7702878b1515843cbbd8b4.jpg resize: (1080, 1632) 1374547354 -5.779013916626748 treat image : temp/1753937249_1925215_1374547351_13fd0b8250c5b860fb295e13b684c80c.jpg resize: (1080, 1632) 1374547351 -5.665236465276255 treat image : temp/1753937249_1925215_1374547349_dcb26fb38dfb6e8f1575f9a18f4b272d.jpg resize: (1080, 1632) 1374547349 -5.72249964212129 treat image : temp/1753937249_1925215_1374547348_0f402563ecb250ce783aaf8a2b06761d.jpg resize: (1080, 1632) 1374547348 -5.7330211584469835 treat image : temp/1753937249_1925215_1374547344_bcb644d95c09bd8e5809195511b60db0.jpg resize: (1080, 1632) 1374547344 -5.831267804486539 treat image : temp/1753937249_1925215_1374547339_4e0080ea12a5983390aa69cbf852763e.jpg resize: (1080, 1632) 1374547339 -5.854001500626392 treat image : temp/1753937249_1925215_1374547325_d55f21f2def49bb3cfddc1855bf3cee9.jpg resize: (1080, 1632) 1374547325 -2.4539437485855924 treat image : temp/1753937249_1925215_1374547323_a51dec0a65727f833c34d37c6401ce5b.jpg resize: (1080, 1632) 1374547323 -1.5871570199201583 treat image : temp/1753937249_1925215_1374547321_9b25d376bce6f5380050fba33c5d7a45.jpg resize: (1080, 1632) 1374547321 -1.9408572360988214 treat image : temp/1753937249_1925215_1374547319_6975b5c09a1d89ebe033afc140fc4f02.jpg resize: (1080, 1632) 1374547319 -2.4600650956405 treat image : temp/1753937249_1925215_1374547318_531049213060e9881eb2d75bf37fb75e.jpg resize: (1080, 1632) 1374547318 -3.246449219791352 treat image : temp/1753937249_1925215_1374547314_36671d059bd177bbd044f0bbd36e95ac.jpg resize: (1080, 1632) 1374547314 -3.2178583209417795 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 : 18 time used for this insertion : 0.014724493026733398 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.22595691680908203 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.23089241981506348 save missing photos in datou_result : time spend for datou_step_exec : 13.036850214004517 time spend to save output : 0.4762294292449951 total time spend for step 1 : 13.513079643249512 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.30user 3.15system 0:19.33elapsed 79%CPU (0avgtext+0avgdata 140664maxresident)k 0inputs+8920outputs (4major+238553minor)pagefaults 0swaps