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 : 3302885 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 : 8106>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/3302885/ 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.5680625438690186 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 06:42:29 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/1751690547_3302885_1370743754_abf2631c0128de86edd1224247ec3d1a.jpg resize: (1080, 1632) 1370743754 -2.9093137792984747 treat image : temp/1751690547_3302885_1370743751_bb22ef5c71087513e3158df5ae9995ba.jpg resize: (1080, 1632) 1370743751 -5.016540476777548 treat image : temp/1751690547_3302885_1370743748_094666ea99fe8e306b626c6871ea3f3a.jpg resize: (1080, 1632) 1370743748 -5.556361217781051 treat image : temp/1751690547_3302885_1370743745_26726867536856fd411df607e99897ea.jpg resize: (1080, 1632) 1370743745 -6.062484171280586 treat image : temp/1751690547_3302885_1370743741_62c0e25d5caa0c15fe9171114b030777.jpg resize: (1080, 1632) 1370743741 -5.469577124846872 treat image : temp/1751690547_3302885_1370743737_5116793d7e5563599ee9547c504245f1.jpg resize: (1080, 1632) 1370743737 -5.457427225500181 treat image : temp/1751690547_3302885_1370743512_48cb7116fb165b05b7afee785d84ddd7.jpg resize: (1080, 1632) 1370743512 -3.279345084523852 treat image : temp/1751690547_3302885_1370743510_f08a643fb4c0c91e638b2eb75bce5099.jpg resize: (1080, 1632) 1370743510 -3.432746185879717 treat image : temp/1751690547_3302885_1370743507_258e6c3fa6ed2e1bbe5ba94a5a94a95a.jpg resize: (1080, 1632) 1370743507 -3.458651078228963 treat image : temp/1751690547_3302885_1370743504_4660e31c620e68866a37b389a61b5a96.jpg resize: (1080, 1632) 1370743504 -3.448275870796356 treat image : temp/1751690547_3302885_1370719467_54148cdc5f5ed4f20b1f49ad5c2cdfc3.jpg resize: (1080, 1632) 1370719467 -3.9575949914678934 treat image : temp/1751690547_3302885_1370719466_0716824eab4a9621f47830f9cf68c4b8.jpg resize: (1080, 1632) 1370719466 -3.979854262290807 treat image : temp/1751690547_3302885_1370719464_32181dfd42bb907f27d6aa684505ac17.jpg resize: (1080, 1632) 1370719464 -3.9808663795923613 treat image : temp/1751690547_3302885_1370719463_d54cbfc40468348276c23e7ca8373de6.jpg resize: (1080, 1632) 1370719463 -3.9128029039688887 treat image : temp/1751690547_3302885_1370719461_c499ab3d25b9c21bc5278acc384551e9.jpg resize: (1080, 1632) 1370719461 -3.946642483858391 treat image : temp/1751690547_3302885_1370719458_229aa82fc548dbf43c0c17e311bc1277.jpg resize: (1080, 1632) 1370719458 -3.9353349221753566 treat image : temp/1751690547_3302885_1370719394_a2697df606748f59300ddad12bd96893.jpg resize: (1080, 1632) 1370719394 -3.9558361133660864 treat image : temp/1751690547_3302885_1370719392_4caf3208bda1f19a261f89d53a2fd02a.jpg resize: (1080, 1632) 1370719392 -3.952285287136959 treat image : temp/1751690547_3302885_1370719388_3f5bd352d7a5afb3c5bcd2b2df809dee.jpg resize: (1080, 1632) 1370719388 -3.98033855181637 treat image : temp/1751690547_3302885_1370719387_0ccd622c4050f429298428386b085025.jpg resize: (1080, 1632) 1370719387 -4.032577121509676 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.01566338539123535 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.015934228897094727 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01903080940246582 save missing photos in datou_result : time spend for datou_step_exec : 17.930984020233154 time spend to save output : 0.05506467819213867 total time spend for step 1 : 17.986048698425293 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.65user 5.76system 0:23.12elapsed 88%CPU (0avgtext+0avgdata 138252maxresident)k 320inputs+8688outputs (7major+256585minor)pagefaults 0swaps