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 : 4116056 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 : 3510>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/4116056/ 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.513014078140259 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 17 10:32: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/1752741150_4116056_1372384565_35b88a33628bc3c17165c7a1cd5d46a7.jpg resize: (1080, 1632) 1372384565 -5.578806683539518 treat image : temp/1752741150_4116056_1372384559_a776e735bb00f2761fc61ecdc5895ea2.jpg resize: (1080, 1632) 1372384559 -5.586832955711827 treat image : temp/1752741150_4116056_1372384556_bd6ddf52c06670f0ba1e3f459cbebbc5.jpg resize: (1080, 1632) 1372384556 -5.586228577635262 treat image : temp/1752741150_4116056_1372384549_bb4ac28a970b34191bae1e1d5d73626f.jpg resize: (1080, 1632) 1372384549 -5.5849320240427405 treat image : temp/1752741150_4116056_1372384547_99f20a381dfbbe4d6bc1aab1f35932ff.jpg resize: (1080, 1632) 1372384547 -5.571570745137917 treat image : temp/1752741150_4116056_1372384545_5dde045eaada6bc8325c11f404d6db84.jpg resize: (1080, 1632) 1372384545 -5.557241143026328 treat image : temp/1752741150_4116056_1372384493_59ee43aeb533c9d6c058491260165afb.jpg resize: (1080, 1632) 1372384493 -5.585983382240349 treat image : temp/1752741150_4116056_1372384487_a53a6d5aed605c0b0969b01c9440b5b4.jpg resize: (1080, 1632) 1372384487 -5.586499118447802 treat image : temp/1752741150_4116056_1372384485_a8a9ca8b3d3e2d578abd57c0006b6580.jpg resize: (1080, 1632) 1372384485 -5.58569224972036 treat image : temp/1752741150_4116056_1372384482_448c019f8735fb98b2fedeb13b871fb3.jpg resize: (1080, 1632) 1372384482 -5.587047261655709 treat image : temp/1752741150_4116056_1372384478_c23f988d664f7e1f559c75bb25d97fb3.jpg resize: (1080, 1632) 1372384478 -5.583726562846561 treat image : temp/1752741150_4116056_1372384475_6a98f39de683ed59fec3af0fe1deba7b.jpg resize: (1080, 1632) 1372384475 -5.581101496706089 treat image : temp/1752741150_4116056_1372348395_72870b93e26595092f2bc8c3210e0c6f.jpg resize: (1080, 1632) 1372348395 -2.5020566695100146 treat image : temp/1752741150_4116056_1372348377_092c41715b92d8b1841d95acea116aac.jpg resize: (1080, 1632) 1372348377 -2.470950283269617 treat image : temp/1752741150_4116056_1372348375_d3bdf295c99e018a739153ca775d1554.jpg resize: (1080, 1632) 1372348375 -2.4643265308279005 treat image : temp/1752741150_4116056_1372348371_48849d77bc60fe875dbd98a31460a3a9.jpg resize: (1080, 1632) 1372348371 -2.4662493449970775 treat image : temp/1752741150_4116056_1372348367_25dd2ad06addc6b9984a6c007d0a5ec1.jpg resize: (1080, 1632) 1372348367 -2.4689363067504395 treat image : temp/1752741150_4116056_1372348364_bbcda7b428e1ec8a44aae3224052fbab.jpg resize: (1080, 1632) 1372348364 -2.4784886009374283 treat image : temp/1752741150_4116056_1372348361_d51879e753654243e146540deb107c87.jpg resize: (1080, 1632) 1372348361 -2.4795482049245985 treat image : temp/1752741150_4116056_1372348336_c96c1b0aee0b25aeed3f10ed262245c1.jpg resize: (1080, 1632) 1372348336 -2.4585827777014178 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.03158259391784668 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.03255343437194824 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.033118486404418945 save missing photos in datou_result : time spend for datou_step_exec : 14.329166173934937 time spend to save output : 0.1118471622467041 total time spend for step 1 : 14.44101333618164 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.81user 2.85system 0:21.19elapsed 78%CPU (0avgtext+0avgdata 138604maxresident)k 0inputs+9120outputs (19major+259879minor)pagefaults 0swaps