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 : 2041 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 : 822>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/2041/ 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.2058444023132324 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 Sat Mar 22 07:47: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/1742626048_2041_1346354016_bf615a050c4f7202092446938874e4ba.jpg resize: (1080, 1632) 1346354016 -2.4991269101116522 treat image : temp/1742626048_2041_1346354012_24a6ac0025cf2d3babe8a4b2c1e10d63.jpg resize: (1080, 1632) 1346354012 -6.012223314572467 treat image : temp/1742626048_2041_1346353967_91bbebeca34d4a55115581cbbaa92a47.jpg resize: (1080, 1632) 1346353967 -6.356706890732688 treat image : temp/1742626048_2041_1346353957_26b62a543db766828461f4a52645e7f9.jpg resize: (1080, 1632) 1346353957 -6.344877039135827 treat image : temp/1742626048_2041_1346353934_78a4f07cc59bbc5a824a735cbbdf7a23.jpg resize: (1080, 1632) 1346353934 -6.370429301253827 treat image : temp/1742626048_2041_1346353921_99b536589f0ef58293fa6376c836979d.jpg resize: (1080, 1632) 1346353921 -5.703006424556363 treat image : temp/1742626048_2041_1346353881_3a0692d6b0e05a010c08e6011354ef7a.jpg resize: (1080, 1632) 1346353881 -5.880453603098922 treat image : temp/1742626048_2041_1346353826_df472988b095e3986e0c2088e33283fb.jpg resize: (1080, 1632) 1346353826 -6.071835084495213 treat image : temp/1742626048_2041_1346353799_5679a6273d7160b09b84288bf6285379.jpg resize: (1080, 1632) 1346353799 -5.946220027438827 treat image : temp/1742626048_2041_1346353796_d8214e38117712973cdadb18c867ed11.jpg resize: (1080, 1632) 1346353796 -5.813304168965576 treat image : temp/1742626048_2041_1346353792_71c33331db7807dc730ca636853dce57.jpg resize: (1080, 1632) 1346353792 -4.560497731156431 treat image : temp/1742626048_2041_1346353789_39c71d839677ba37941f58a0e4e12bfa.jpg resize: (1080, 1632) 1346353789 -5.3609432231665 treat image : temp/1742626048_2041_1346353709_514c9609b39efa7be7cc953ffe64503f.jpg resize: (1080, 1632) 1346353709 -2.1755017731374013 treat image : temp/1742626048_2041_1346353702_10be5624165c9a14684b335ee8d4f3b5.jpg resize: (1080, 1632) 1346353702 -3.6712240286655495 treat image : temp/1742626048_2041_1346353698_afdacb17dcd9cff9d1d82fb3ec21afa9.jpg resize: (1080, 1632) 1346353698 -4.763679934299984 treat image : temp/1742626048_2041_1346353693_8528b0eb8b2633dc87b251a0101fa392.jpg resize: (1080, 1632) 1346353693 -6.568177503757872 treat image : temp/1742626048_2041_1346353689_2b15da8290b74aad5416ad5632acabf1.jpg resize: (1080, 1632) 1346353689 -6.069607447496338 treat image : temp/1742626048_2041_1346353684_d366c751d7ba2643ab654720e8930bd3.jpg resize: (1080, 1632) 1346353684 -6.791712349226582 treat image : temp/1742626048_2041_1346353407_758cb946a5c9b3685de3fd270ceec875.jpg resize: (1080, 1632) 1346353407 -4.730524776628468 treat image : temp/1742626048_2041_1346353386_2418cb649355d43a1ae943b37a4c259b.jpg resize: (1080, 1632) 1346353386 -2.314505987393051 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.012488365173339844 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.0330052375793457 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015915870666503906 save missing photos in datou_result : time spend for datou_step_exec : 13.896495819091797 time spend to save output : 0.0660398006439209 total time spend for step 1 : 13.962535619735718 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.76user 3.26system 0:19.71elapsed 86%CPU (0avgtext+0avgdata 138048maxresident)k 0inputs+11088outputs (10major+259545minor)pagefaults 0swaps