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 : 2419417 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 : 1388>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/2419417/ 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.137160539627075 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 11: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/1747214247_2419417_1358142871_d75af48d4a104a1f09919be70f918c5c.jpg resize: (1080, 1632) 1358142871 -5.246619523650552 treat image : temp/1747214247_2419417_1358142870_2c37a8d0de5a6630ede22193811cf403.jpg resize: (1080, 1632) 1358142870 -1.5570292023891625 treat image : temp/1747214247_2419417_1358142869_5d624da97e1c1ab472fa4b6bfb87f8e3.jpg resize: (1080, 1632) 1358142869 -1.460009082015277 treat image : temp/1747214247_2419417_1358142868_d180e39330d3e34cd4e2d6ad81a247cd.jpg resize: (1080, 1632) 1358142868 -4.783007004304159 treat image : temp/1747214247_2419417_1358142865_bed7ecfe83d03f70263b7e36bcb228cb.jpg resize: (1080, 1632) 1358142865 -3.4852630345271614 treat image : temp/1747214247_2419417_1358142667_ad1ce2d42b9d17d64c872b5b32362811.jpg resize: (1080, 1632) 1358142667 -1.4058738763951764 treat image : temp/1747214247_2419417_1358142665_b4e7e0191d875b472cf4f6a46bfae5fe.jpg resize: (1080, 1632) 1358142665 -3.123966561018803 treat image : temp/1747214247_2419417_1358142663_e19704c9c847117e429314e495ee1c20.jpg resize: (1080, 1632) 1358142663 -4.643401262850043 treat image : temp/1747214247_2419417_1358142660_09292b58e8166ece2bb817d80a9ad4ee.jpg resize: (1080, 1632) 1358142660 -3.096739187618698 treat image : temp/1747214247_2419417_1358142657_900d3de89d4e7391a7b91c70c4dcf755.jpg resize: (1080, 1632) 1358142657 -3.9830428907847124 treat image : temp/1747214247_2419417_1358142474_b60f0b2d51dc620ddab6d59ef3612d9f.jpg resize: (1080, 1632) 1358142474 -2.626371943651953 treat image : temp/1747214247_2419417_1358142446_90cd36760623b3acd5dc363b8309a92f.jpg resize: (1080, 1632) 1358142446 -1.3996296686108014 treat image : temp/1747214247_2419417_1358142419_761cf3b327bfb316d16c9d2c3e702075.jpg resize: (1080, 1632) 1358142419 -3.235424630559309 treat image : temp/1747214247_2419417_1358142389_1fd671b0e5395fa949b6932c771b9541.jpg resize: (1080, 1632) 1358142389 -3.1135008606319516 treat image : temp/1747214247_2419417_1358142372_0ad706a836751e76f357c11f0ef35c8d.jpg resize: (1080, 1632) 1358142372 -3.635725501403807 treat image : temp/1747214247_2419417_1358142370_e02ed56bb71080a965e18cf00048ff28.jpg resize: (1080, 1632) 1358142370 -5.412857561943068 treat image : temp/1747214247_2419417_1358136806_7326194d769d8387866d0bd8601bb42d.jpg resize: (1080, 1632) 1358136806 -5.085501679624692 treat image : temp/1747214247_2419417_1358136769_35e93e04a18a8b5200e583f6539a2f93.jpg resize: (1080, 1632) 1358136769 -4.123065750980116 treat image : temp/1747214247_2419417_1358136759_70ed86e2f3115dcd2002e8c4ab78d00c.jpg resize: (1080, 1632) 1358136759 -3.8627716663325624 treat image : temp/1747214247_2419417_1358136754_52c3347a8e1ab5e8c4bb834eabea0731.jpg resize: (1080, 1632) 1358136754 -4.786811958607401 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.0186154842376709 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.01712775230407715 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01767134666442871 save missing photos in datou_result : time spend for datou_step_exec : 16.70224952697754 time spend to save output : 0.05881857872009277 total time spend for step 1 : 16.761068105697632 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.67user 4.67system 0:20.49elapsed 94%CPU (0avgtext+0avgdata 139508maxresident)k 48inputs+7880outputs (20major+251421minor)pagefaults 0swaps