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 : 1902719 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 : 1367>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/1902719/ 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.188391923904419 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 Mon May 12 11:17:30 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/1747041448_1902719_1357618111_0072c84373d3f1e1ffad0ae7c33cf815.jpg resize: (1080, 1632) 1357618111 -5.866290551731027 treat image : temp/1747041448_1902719_1357618108_7044f27781dee1a7b66cff4599cb3c5f.jpg resize: (1080, 1632) 1357618108 -4.924250913740346 treat image : temp/1747041448_1902719_1357618104_78fa17e94c9555c9af74478ca58b2ac8.jpg resize: (1080, 1632) 1357618104 -4.5887888826732315 treat image : temp/1747041448_1902719_1357618100_03f8cb2f17879770cd9a6620809b9064.jpg resize: (1080, 1632) 1357618100 -4.859257503473272 treat image : temp/1747041448_1902719_1357617992_c2a73070977c50be8a885f961f89f0b0.jpg resize: (1080, 1632) 1357617992 -5.627922449244486 treat image : temp/1747041448_1902719_1357617986_f8a4a6cc98bf29a0e2714980ef81ea72.jpg resize: (1080, 1632) 1357617986 -6.846468627768769 treat image : temp/1747041448_1902719_1357617983_a46cf6a8d68aa9b5400a5787b296268a.jpg resize: (1080, 1632) 1357617983 -6.814609703205155 treat image : temp/1747041448_1902719_1357617980_5ab1305b3f49216b18b5623356ca8fae.jpg resize: (1080, 1632) 1357617980 -5.873075496609947 treat image : temp/1747041448_1902719_1357617976_538ebbb908629c9dd3cb3e70a70ebd8d.jpg resize: (1080, 1632) 1357617976 -5.405427107875268 treat image : temp/1747041448_1902719_1357617938_95a658701d374b3f7e5d1b55791e71dd.jpg resize: (1080, 1632) 1357617938 -2.2233913700723797 treat image : temp/1747041448_1902719_1357617933_63099c35f8f76680d00c3f02027b4cb1.jpg resize: (1080, 1632) 1357617933 -1.2460137260990494 treat image : temp/1747041448_1902719_1357617928_b2855423403927448048932d3b4f86e4.jpg resize: (1080, 1632) 1357617928 -4.032235322448395 treat image : temp/1747041448_1902719_1357617923_f4e48fcb71c1c1024725ac6fc4808dee.jpg resize: (1080, 1632) 1357617923 -6.098568624608286 treat image : temp/1747041448_1902719_1357617878_d9d769f1db39c91b31d9d49d8026e69a.jpg resize: (1080, 1632) 1357617878 -5.3748235037908305 treat image : temp/1747041448_1902719_1357617876_ddf6c151e843cab8441e22302e248163.jpg resize: (1080, 1632) 1357617876 -4.101052164907484 treat image : temp/1747041448_1902719_1357617872_82e9fa640a02d3b912bf9346ec82bf7f.jpg resize: (1080, 1632) 1357617872 -5.808067900335672 treat image : temp/1747041448_1902719_1357617837_b5a012fe4877323c906d4b912f431da4.jpg resize: (1080, 1632) 1357617837 -5.675881023810815 treat image : temp/1747041448_1902719_1357617833_1981dd96eeaafc289df0923839ce6c1c.jpg resize: (1080, 1632) 1357617833 -5.317116613394721 treat image : temp/1747041448_1902719_1357617832_5a8a8411555290c69b1ad1b4d913cb35.jpg resize: (1080, 1632) 1357617832 -5.155797880025314 treat image : temp/1747041448_1902719_1357617827_de79071aea76d03b314029879fc09473.jpg resize: (1080, 1632) 1357617827 -3.16531513275207 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.013595819473266602 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.012759208679199219 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01593303680419922 save missing photos in datou_result : time spend for datou_step_exec : 17.033432006835938 time spend to save output : 0.047643423080444336 total time spend for step 1 : 17.081075429916382 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.96user 4.63system 0:22.87elapsed 85%CPU (0avgtext+0avgdata 139776maxresident)k 112inputs+10432outputs (2major+260768minor)pagefaults 0swaps