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 : 624211 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 : 2020>100 please execute split_portfolio.py -i 21033292 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2634607'] with mtr_portfolio_ids : ['21033292'] and first list_photo_ids : [] new path : /proc/624211/ 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.22009539604187 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 Mar 5 11: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/1741169247_624211_1340992447_944e0f548b97126e4cc309b3e4832d05.jpg resize: (1080, 1632) 1340992447 -1.8324075728406126 treat image : temp/1741169247_624211_1340992444_2ba73f317156fc3b0d32be9a866682e4.jpg resize: (1080, 1632) 1340992444 -3.8375769164550775 treat image : temp/1741169247_624211_1340992429_9dbe2bffe9c937b59d316b4f236fe6b3.jpg resize: (1080, 1632) 1340992429 -5.788035192366195 treat image : temp/1741169247_624211_1340992380_bc3fc3bb5fc3c39b1e42e3f83e995830.jpg resize: (1080, 1632) 1340992380 -5.426969627370867 treat image : temp/1741169247_624211_1340992375_2135833511fc90d075eed11e9b12c1f1.jpg resize: (1080, 1632) 1340992375 -5.2902524996441445 treat image : temp/1741169247_624211_1340992335_ce686392b1d7e707edd15caa90bc603b.jpg resize: (1080, 1632) 1340992335 -4.684534059552426 treat image : temp/1741169247_624211_1340991610_1c869fd0c6d2736ada0fe9e078020add.jpg resize: (1080, 1632) 1340991610 -5.730918643365962 treat image : temp/1741169247_624211_1340991605_cab1eedf531d038e27e9fd40b19485b3.jpg resize: (1080, 1632) 1340991605 -5.765501586960169 treat image : temp/1741169247_624211_1340991599_c7bf086d16595e421512159450bd8b13.jpg resize: (1080, 1632) 1340991599 -5.547529930980193 treat image : temp/1741169247_624211_1340991593_d1cc4ba228ee9f6a442ca7497084a347.jpg resize: (1080, 1632) 1340991593 -4.197505193259649 treat image : temp/1741169247_624211_1340991587_5698bcca1dec9fd556e8de78dacd7595.jpg resize: (1080, 1632) 1340991587 -5.489518391359224 treat image : temp/1741169247_624211_1340991563_8ddd238a825c0cb6c32b73fb94d0c2a4.jpg resize: (1080, 1632) 1340991563 -4.072651018084707 treat image : temp/1741169247_624211_1340991557_9714afe9ed925de7ef85c985b0d67015.jpg resize: (1080, 1632) 1340991557 -5.734942622417189 treat image : temp/1741169247_624211_1340991554_1a2d061ab928dccbda649a54120e8f10.jpg resize: (1080, 1632) 1340991554 -5.317891974549554 treat image : temp/1741169247_624211_1340991552_1cb98b328ff22a22204653f3210df7a8.jpg resize: (1080, 1632) 1340991552 -4.803044042175702 treat image : temp/1741169247_624211_1340991547_06e0ca257e90661ba2d1b0e3505bb940.jpg resize: (1080, 1632) 1340991547 -5.361560598721038 treat image : temp/1741169247_624211_1340991520_bd04a4f9ff0bb145d783a09d2bf3d24d.jpg resize: (1080, 1632) 1340991520 -4.583388391735152 treat image : temp/1741169247_624211_1340991511_e3f0399c04e5433deaf0f6644872a2b9.jpg resize: (1080, 1632) 1340991511 -1.0239172446444234 treat image : temp/1741169247_624211_1340991503_92db08fc85932c6df0dec7377a7a1754.jpg resize: (1080, 1632) 1340991503 -2.3219220343058034 treat image : temp/1741169247_624211_1340991498_98561c19221d5dcf473e8413750087e8.jpg resize: (1080, 1632) 1340991498 -2.6454119047275997 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.01337575912475586 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.012570858001708984 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01422572135925293 save missing photos in datou_result : time spend for datou_step_exec : 15.598787307739258 time spend to save output : 0.05076003074645996 total time spend for step 1 : 15.649547338485718 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.97user 3.26system 0:20.47elapsed 89%CPU (0avgtext+0avgdata 139580maxresident)k 4864inputs+9128outputs (50major+226898minor)pagefaults 0swaps