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 : 1858625 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 : 795>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1858625/ 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.2097575664520264 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 May 14 08:07: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/1747202847_1858625_1358100580_863fc6565d57913b81f0b1145d9d25c8.jpg resize: (1080, 1632) 1358100580 -5.930221066024564 treat image : temp/1747202847_1858625_1358100578_87c99906fef02fd88028b149ee775316.jpg resize: (1080, 1632) 1358100578 -5.791546656349038 treat image : temp/1747202847_1858625_1358100575_68805c7cfbc7fbbed4010e9aa0eab322.jpg resize: (1080, 1632) 1358100575 -4.912629098461641 treat image : temp/1747202847_1858625_1358100572_2f5b3296f25056ce79a6ca52fed81f0d.jpg resize: (1080, 1632) 1358100572 -5.6891291968300255 treat image : temp/1747202847_1858625_1358100569_7db825dc63e67e2f0f7bac81b1fe95ba.jpg resize: (1080, 1632) 1358100569 -5.584640250241945 treat image : temp/1747202847_1858625_1358100566_2a8a27bbd9b0891f65fce32a734a7264.jpg resize: (1080, 1632) 1358100566 -3.9129356064439103 treat image : temp/1747202847_1858625_1358100545_8cd8cea39f7e20a93f7a78558e968374.jpg resize: (1080, 1632) 1358100545 -2.6696882562046675 treat image : temp/1747202847_1858625_1358100542_5f7348986f069b339e48edbee8f46305.jpg resize: (1080, 1632) 1358100542 -1.180470542048951 treat image : temp/1747202847_1858625_1358100539_d882e83ae4f8020a41aadb0b41de41ed.jpg resize: (1080, 1632) 1358100539 -1.9523985384858895 treat image : temp/1747202847_1858625_1358100536_7bc551e769958843d1444edb9f6eb481.jpg resize: (1080, 1632) 1358100536 -3.036822731717169 treat image : temp/1747202847_1858625_1358100519_c07d4fd068719aaddeb42b78caff696a.jpg resize: (1080, 1632) 1358100519 -5.775230672482334 treat image : temp/1747202847_1858625_1358100516_b1a911974c2f49322da3cd70335cbf89.jpg resize: (1080, 1632) 1358100516 -5.910490969010191 treat image : temp/1747202847_1858625_1358100512_320b76d2abef2b34699814ed099af1b8.jpg resize: (1080, 1632) 1358100512 -2.827141737803831 treat image : temp/1747202847_1858625_1358100507_d71ed922081fb8f0b2e1e0a8a151a261.jpg resize: (1080, 1632) 1358100507 -3.28716953762053 treat image : temp/1747202847_1858625_1358100503_4a8fc4f1c9efa76ab81b5f1ce44ff8a7.jpg resize: (1080, 1632) 1358100503 -5.086424776311151 treat image : temp/1747202847_1858625_1358100500_7acd8c014bcec236a89fa60a0ab48225.jpg resize: (1080, 1632) 1358100500 -5.391160094307388 treat image : temp/1747202847_1858625_1358100482_d640adba83ec400a1de1cb242db7c8b3.jpg resize: (1080, 1632) 1358100482 -1.9023186087767625 treat image : temp/1747202847_1858625_1358100479_24402ab8298662038dba4186cf88610b.jpg resize: (1080, 1632) 1358100479 -3.3960673802301695 treat image : temp/1747202847_1858625_1358100475_0fa4f8c5154cdac759ea63edd44dce70.jpg resize: (1080, 1632) 1358100475 -5.2696994772129235 treat image : temp/1747202847_1858625_1358100471_b696c40b865baf8e1162ac243a09e598.jpg resize: (1080, 1632) 1358100471 -6.238241516890412 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.014323234558105469 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.19499444961547852 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.25492143630981445 save missing photos in datou_result : time spend for datou_step_exec : 16.350038766860962 time spend to save output : 0.46906590461730957 total time spend for step 1 : 16.81910467147827 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.34user 4.31system 0:21.66elapsed 86%CPU (0avgtext+0avgdata 141392maxresident)k 432inputs+9520outputs (12major+253907minor)pagefaults 0swaps