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 : 197871 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 : 4495>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/197871/ 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.8414974212646484 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 13:27: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/1752751648_197871_1372343520_7af1241110e1fb31e59310f99f2a6dfe.jpg resize: (1080, 1632) 1372343520 -4.405809075090535 treat image : temp/1752751648_197871_1372343498_d2a0af5e8a07ff7445e69c5b40841af4.jpg resize: (1080, 1632) 1372343498 -4.33314564216709 treat image : temp/1752751648_197871_1372343495_7b07cfa4605273b52861e0df53b22524.jpg resize: (1080, 1632) 1372343495 -4.339617341061485 treat image : temp/1752751648_197871_1372343494_ab6edfe7f6537f0793673d610971884c.jpg resize: (1080, 1632) 1372343494 -4.397288971502337 treat image : temp/1752751648_197871_1372343492_3351c35f15c219d042fea37ceba5486a.jpg resize: (1080, 1632) 1372343492 -4.381288797106201 treat image : temp/1752751648_197871_1372343490_89a7f28b2ffac17e78816b3536a8fed4.jpg resize: (1080, 1632) 1372343490 -4.350546236516085 treat image : temp/1752751648_197871_1372343489_ea3cd56740e3df5611be53fd64c0d79a.jpg resize: (1080, 1632) 1372343489 -4.390056531761154 treat image : temp/1752751648_197871_1372343463_1cec347a81dc8fdfe037dd0a07a4cedf.jpg resize: (1080, 1632) 1372343463 -4.32767185551812 treat image : temp/1752751648_197871_1372343461_7ced67c34078fae1a115a0229874fcfa.jpg resize: (1080, 1632) 1372343461 -4.338206041956864 treat image : temp/1752751648_197871_1372343459_d236aef925e7bed52f1bbdf803159173.jpg resize: (1080, 1632) 1372343459 -4.335257739581058 treat image : temp/1752751648_197871_1372343457_ac72c33362cacd1bf3f48bc307a3133f.jpg resize: (1080, 1632) 1372343457 -4.346595898833013 treat image : temp/1752751648_197871_1372343455_fa8c11e3f2f8018f6c0ce0bc97708662.jpg resize: (1080, 1632) 1372343455 -4.339370551870008 treat image : temp/1752751648_197871_1372343454_6516d54c064c244e69cfc2cccf727bb7.jpg resize: (1080, 1632) 1372343454 -4.343142560063164 treat image : temp/1752751648_197871_1372343440_4d1f25d1280ebd60a52eb4e424f36993.jpg resize: (1080, 1632) 1372343440 -3.5564726888952007 treat image : temp/1752751648_197871_1372343438_3c7a5f63bb765af1e753980b1d3e7b7c.jpg resize: (1080, 1632) 1372343438 -3.5447412794346116 treat image : temp/1752751648_197871_1372343437_8252aae05d55fccaf0fb8d2fbbe8b539.jpg resize: (1080, 1632) 1372343437 -3.53073068886762 treat image : temp/1752751648_197871_1372343435_618d2f4c361e4703c593b45c5dd22790.jpg resize: (1080, 1632) 1372343435 -3.6459664161248404 treat image : temp/1752751648_197871_1372343434_2cb8bdc2995bfa7a7d76c7e34b74c059.jpg resize: (1080, 1632) 1372343434 -3.646939116922535 treat image : temp/1752751648_197871_1372343432_fb96ed72a36a89c069c1cd6dc8894282.jpg resize: (1080, 1632) 1372343432 -3.6098954683618945 treat image : temp/1752751648_197871_1372343412_46fea452f8a267590f5f994492ca661c.jpg resize: (1080, 1632) 1372343412 -1.6516518613927547 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.027207612991333008 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.028796672821044922 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.031090497970581055 save missing photos in datou_result : time spend for datou_step_exec : 17.05682921409607 time spend to save output : 0.09875845909118652 total time spend for step 1 : 17.155587673187256 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 5.16system 0:24.54elapsed 79%CPU (0avgtext+0avgdata 138692maxresident)k 200inputs+8040outputs (3major+251257minor)pagefaults 0swaps