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 : 625369 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 : 5367>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/625369/ 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.4931085109710693 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 16:02: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/1752760946_625369_1372450559_273c6b6bd7b7b440dfa0a53147737d5b.jpg resize: (1080, 1632) 1372450559 -1.984620941658986 treat image : temp/1752760946_625369_1372450460_b85d7338892ced8f52fb69cf3f67d423.jpg resize: (1080, 1632) 1372450460 -1.994762585492928 treat image : temp/1752760946_625369_1372450372_3374cd331c8499a2294b9f75e048291b.jpg resize: (1080, 1632) 1372450372 -1.9951526020495407 treat image : temp/1752760946_625369_1372450266_fd17188e53676329089df7a7e22dea26.jpg resize: (1080, 1632) 1372450266 -1.7995929253368899 treat image : temp/1752760946_625369_1372450173_0a51dcdac262da3993b870c2c7816303.jpg resize: (1080, 1632) 1372450173 -2.4031476325642354 treat image : temp/1752760946_625369_1372450119_de970aaa571f66e6a0208269c024c722.jpg resize: (1080, 1632) 1372450119 -1.1106945549454688 treat image : temp/1752760946_625369_1372449622_29f2df4c031a0ddc94164a338a157207.jpg resize: (1080, 1632) 1372449622 -3.611775019403145 treat image : temp/1752760946_625369_1372449542_4dddf4293a9f77b7ab94ee756d73fd18.jpg resize: (1080, 1632) 1372449542 -2.0061344378113297 treat image : temp/1752760946_625369_1372449489_0310fe413a35c04024adca0a8cff4bc4.jpg resize: (1080, 1632) 1372449489 -1.9743787252338931 treat image : temp/1752760946_625369_1372449432_1cf3e636d40223e9425882d0ebea6834.jpg resize: (1080, 1632) 1372449432 -1.9803599290294227 treat image : temp/1752760946_625369_1372449386_b004a68875e2b8770a3700d19212206b.jpg resize: (1080, 1632) 1372449386 -1.9894613179750602 treat image : temp/1752760946_625369_1372449331_9a00afa99588a331e4e64731645e5f60.jpg resize: (1080, 1632) 1372449331 -2.0008212547121986 treat image : temp/1752760946_625369_1372339306_96d62792409a1d8495a251b1ce754d78.jpg resize: (1080, 1632) 1372339306 -4.4773481940693935 treat image : temp/1752760946_625369_1372339288_026879dc2e2a48aba9b6682cd2d3cb87.jpg resize: (1080, 1632) 1372339288 -4.572659457653326 treat image : temp/1752760946_625369_1372339286_5f35514da2fb3aee4ca62a990ba0964c.jpg resize: (1080, 1632) 1372339286 -4.577638702118243 treat image : temp/1752760946_625369_1372339283_5937a08852a0b977e99ab8a0a40e28b4.jpg resize: (1080, 1632) 1372339283 -4.582413080399467 treat image : temp/1752760946_625369_1372339281_7ae4c43a58e63616efbbc44db1514ebd.jpg resize: (1080, 1632) 1372339281 -4.564738848371115 treat image : temp/1752760946_625369_1372339279_b9d90bd91e443b290940cc34ec4e7db4.jpg resize: (1080, 1632) 1372339279 -4.576884341257014 treat image : temp/1752760946_625369_1372339276_da3ba5866b5af5a97c9914b9f65b41b5.jpg resize: (1080, 1632) 1372339276 -4.47569727716921 treat image : temp/1752760946_625369_1372339253_a7df0dde42eb725ac9b501c1f7f7866a.jpg resize: (1080, 1632) 1372339253 -6.13797131355798 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.031982421875 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.028393030166625977 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.143601655960083 save missing photos in datou_result : time spend for datou_step_exec : 16.901801109313965 time spend to save output : 0.2169790267944336 total time spend for step 1 : 17.1187801361084 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.23user 5.00system 0:21.59elapsed 89%CPU (0avgtext+0avgdata 137796maxresident)k 0inputs+7624outputs (10major+257915minor)pagefaults 0swaps