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 : 3168029 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 : 7530>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/3168029/ 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.112313985824585 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 Sat Jul 5 05:32:28 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/1751686346_3168029_1370739514_eceed31c5ab619b1000f023702c455fb.jpg resize: (1080, 1632) 1370739514 -5.531481307284102 treat image : temp/1751686346_3168029_1370739512_309259c8e5b9ffd0ecff0c108b1ec6ba.jpg resize: (1080, 1632) 1370739512 -5.515539070863218 treat image : temp/1751686346_3168029_1370739510_c16a523af9b2235d66634171c152da5d.jpg resize: (1080, 1632) 1370739510 -5.042159412024222 treat image : temp/1751686346_3168029_1370739507_bc61b4e7e1ba111b113ba7ed8c596dad.jpg resize: (1080, 1632) 1370739507 -5.027598346010674 treat image : temp/1751686346_3168029_1370739505_b847c3f423a8d47c2cc609ac9b8503bc.jpg resize: (1080, 1632) 1370739505 -5.813809616536774 treat image : temp/1751686346_3168029_1370739502_5bf899ab660a685163f1ae44731b8eaf.jpg resize: (1080, 1632) 1370739502 -5.800621356326543 treat image : temp/1751686346_3168029_1370739494_1d4a92b436d3dfe3d8eebb2dbc5bd42b.jpg resize: (1080, 1632) 1370739494 -5.144328913593097 treat image : temp/1751686346_3168029_1370739492_95ecb871c9fb3802964324fa60bb11be.jpg resize: (1080, 1632) 1370739492 -1.4926023243253423 treat image : temp/1751686346_3168029_1370739491_9667d062c4d281a96c90786a11cc1b9e.jpg resize: (1080, 1632) 1370739491 -2.9019107735721197 treat image : temp/1751686346_3168029_1370739490_b28e0d83ea5fe64551a3cb15477c2d43.jpg resize: (1080, 1632) 1370739490 -2.874450737750062 treat image : temp/1751686346_3168029_1370739489_4828a9a3513f9762dd86aac6b3853c99.jpg resize: (1080, 1632) 1370739489 -2.959505008638026 treat image : temp/1751686346_3168029_1370739485_35bbd65f90eb41523bf98de1b150b07c.jpg resize: (1080, 1632) 1370739485 -1.6914813618081979 treat image : temp/1751686346_3168029_1370739475_0577060375267f306862e4679a6555eb.jpg resize: (1080, 1632) 1370739475 -3.1776510803068194 treat image : temp/1751686346_3168029_1370739471_673108130f621660d3369d9aa18831f2.jpg resize: (1080, 1632) 1370739471 -3.2003415046144896 treat image : temp/1751686346_3168029_1370739461_9404b7682e27255c96f3f4e1dafda512.jpg resize: (1080, 1632) 1370739461 -1.9909479814452788 treat image : temp/1751686346_3168029_1370739455_1119293f32670057a9c3e4668a40a299.jpg resize: (1080, 1632) 1370739455 -5.136331998832367 treat image : temp/1751686346_3168029_1370739454_757dc92d832587ca57ebbe3cf18bf3b7.jpg resize: (1080, 1632) 1370739454 -5.0914680210493035 treat image : temp/1751686346_3168029_1370739424_db1412fcd52a25d44d7fecae3f89dbb2.jpg resize: (1080, 1632) 1370739424 -5.041711147164585 treat image : temp/1751686346_3168029_1370739330_370fe175fff50fb208e9a8c47916688d.jpg resize: (1080, 1632) 1370739330 -4.28865726274334 treat image : temp/1751686346_3168029_1370739328_582c7589ecf861a9c22774abfa14f469.jpg resize: (1080, 1632) 1370739328 -5.060978450122935 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.01543283462524414 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.015381574630737305 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.025472640991210938 save missing photos in datou_result : time spend for datou_step_exec : 16.48219895362854 time spend to save output : 0.06121492385864258 total time spend for step 1 : 16.543413877487183 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.18user 5.07system 0:20.51elapsed 93%CPU (0avgtext+0avgdata 138800maxresident)k 4488inputs+8744outputs (26major+258308minor)pagefaults 0swaps