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 : 750397 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 : 4328>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/750397/ 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.4851107597351074 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 Wed Jul 30 18:17: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/1753892247_750397_1374454936_9f55a8c4ceb120cba8945d4fbf571bd7.jpg resize: (1080, 1632) 1374454936 -2.6817108291522533 treat image : temp/1753892247_750397_1374454917_7467a6ca37b9dcef110ded5b1a063b29.jpg resize: (1080, 1632) 1374454917 -2.3789223980566248 treat image : temp/1753892247_750397_1374454914_388777cc9d356d3695ca890cea3faa59.jpg resize: (1080, 1632) 1374454914 -2.842804495608798 treat image : temp/1753892247_750397_1374454911_9c2a0b82244a6740af6fe3c28c628c01.jpg resize: (1080, 1632) 1374454911 -5.201047137981643 treat image : temp/1753892247_750397_1374454903_c431c10c086f1ea61919e0f42f01e33a.jpg resize: (1080, 1632) 1374454903 -3.594497148771069 treat image : temp/1753892247_750397_1374454896_c4aab39ea45f9fe341e39a15acce98e5.jpg resize: (1080, 1632) 1374454896 -3.7289137816165496 treat image : temp/1753892247_750397_1374454883_2b20ae04307b5aad795c6b79fd90bc4c.jpg resize: (1080, 1632) 1374454883 -5.214864062815137 treat image : temp/1753892247_750397_1374454862_a84781e03f719d19ed5d01217bb7a41b.jpg resize: (1080, 1632) 1374454862 -5.838383064923945 treat image : temp/1753892247_750397_1374454857_85153de2da3c9cc74532f3948def0b64.jpg resize: (1080, 1632) 1374454857 -4.890721983941581 treat image : temp/1753892247_750397_1374454854_7be4c8969bcd7290b8c49395f0cd37ed.jpg resize: (1080, 1632) 1374454854 -5.607037242638272 treat image : temp/1753892247_750397_1374454851_e5ad947527b41e05ad878c64efce24ef.jpg resize: (1080, 1632) 1374454851 -4.494790753397635 treat image : temp/1753892247_750397_1374454848_2c8538c3d0638dd1419ac46d9b29f64d.jpg resize: (1080, 1632) 1374454848 -1.5098756409996197 treat image : temp/1753892247_750397_1374454842_e407f1e26ddd5ab6506a589c287885e1.jpg resize: (1080, 1632) 1374454842 -2.825899194159049 treat image : temp/1753892247_750397_1374454561_f695eaa22a189ce8df8d76cd430ebd64.jpg resize: (1080, 1632) 1374454561 -4.951686141161684 treat image : temp/1753892247_750397_1374454558_4283ecf5f321121a79452c3d6a736919.jpg resize: (1080, 1632) 1374454558 -5.555941130505156 treat image : temp/1753892247_750397_1374454533_402d6b0eee945585d12bc8adbf33a740.jpg resize: (1080, 1632) 1374454533 -5.483651917684034 treat image : temp/1753892247_750397_1374454530_0aaeb731061b891462a612982bb00546.jpg resize: (1080, 1632) 1374454530 -2.6290234332458544 treat image : temp/1753892247_750397_1374454527_daafdb89645eb020455b12f6fb6fc591.jpg resize: (1080, 1632) 1374454527 -1.9813604331388077 treat image : temp/1753892247_750397_1374454524_f9c1a5f13989f847c4f2d4e30305e934.jpg resize: (1080, 1632) 1374454524 -2.8317706867681762 treat image : temp/1753892247_750397_1374454520_6ff50761f81c604758f6f1c65637368c.jpg resize: (1080, 1632) 1374454520 -3.098195153224162 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.03571939468383789 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.036252737045288086 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.039754629135131836 save missing photos in datou_result : time spend for datou_step_exec : 14.836973428726196 time spend to save output : 0.1289997100830078 total time spend for step 1 : 14.965973138809204 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.48user 3.87system 0:19.59elapsed 88%CPU (0avgtext+0avgdata 138064maxresident)k 112inputs+8920outputs (2major+186971minor)pagefaults 0swaps