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 : 3166595 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 : 7559>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/3166595/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.2331669330596924 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 Thu Jul 31 17:57: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/1753977448_3166595_1374625115_21b2ff47de509c2e1a763ee897bd455a.jpg resize: (1080, 1632) 1374625115 -4.334246164811227 treat image : temp/1753977448_3166595_1374625108_baa832e6620df51d10658d74db644518.jpg resize: (1080, 1632) 1374625108 -2.9484410350214927 treat image : temp/1753977448_3166595_1374625106_2a2f9830aff1ddd6e567d38fa037f940.jpg resize: (1080, 1632) 1374625106 -1.851228193250606 treat image : temp/1753977448_3166595_1374625096_a1392251dcb926262341c2b1f1a8ffed.jpg resize: (1080, 1632) 1374625096 -1.5718761770818792 treat image : temp/1753977448_3166595_1374624993_b878cb84b347720acc1a4fc2620159b7.jpg resize: (1080, 1632) 1374624993 -2.128551515282709 treat image : temp/1753977448_3166595_1374624968_e4cd094a9416435e5cbe7d84bf2e675c.jpg resize: (1080, 1632) 1374624968 -4.564555143484925 treat image : temp/1753977448_3166595_1374624939_28a13827e3f1f47d157800827d2bbbbf.jpg resize: (1080, 1632) 1374624939 -3.654342625740265 treat image : temp/1753977448_3166595_1374624912_939567f3aba24e724ff5add373977382.jpg resize: (1080, 1632) 1374624912 -4.408570344004021 treat image : temp/1753977448_3166595_1374624886_ad7ab7145abc68b21ac48c2f6f1cf99e.jpg resize: (1080, 1632) 1374624886 -4.307385750169427 treat image : temp/1753977448_3166595_1374624863_a6ba267439834cc7d11cc62800a8548e.jpg resize: (1080, 1632) 1374624863 -2.0889180250600425 treat image : temp/1753977448_3166595_1374624687_04b037f2293076af5422e642e08dd5bf.jpg resize: (1080, 1632) 1374624687 -4.622553028135575 treat image : temp/1753977448_3166595_1374624679_4178015577fda73cead5386651728d62.jpg resize: (1080, 1632) 1374624679 -5.664695557152093 treat image : temp/1753977448_3166595_1374624675_92cf96dec20e60084ea14354625ed075.jpg resize: (1080, 1632) 1374624675 -4.46633432320357 treat image : temp/1753977448_3166595_1374624662_06df51efb3a21d0125379eb4df318417.jpg resize: (1080, 1632) 1374624662 -3.0011155904434226 treat image : temp/1753977448_3166595_1374624658_3c9cfe8b3f70ee8fea4644cb252f76f8.jpg resize: (1080, 1632) 1374624658 -5.129766177237884 treat image : temp/1753977448_3166595_1374624654_ae006ab8947ef316f38d87d9d345bb9e.jpg resize: (1080, 1632) 1374624654 -2.0321245802648624 treat image : temp/1753977448_3166595_1374624113_b46ccfa040e6a8c9545b41c892a304b6.jpg resize: (1080, 1632) 1374624113 -5.42811984531278 treat image : temp/1753977448_3166595_1374624110_27faf96f132ed9cb78a942e6128f7952.jpg resize: (1080, 1632) 1374624110 -4.810246875057436 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 : 18 time used for this insertion : 0.013683080673217773 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.01189112663269043 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.015009164810180664 save missing photos in datou_result : time spend for datou_step_exec : 13.582926273345947 time spend to save output : 0.045859336853027344 total time spend for step 1 : 13.628785610198975 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.09user 2.77system 0:18.62elapsed 85%CPU (0avgtext+0avgdata 138768maxresident)k 96inputs+7440outputs (15major+190098minor)pagefaults 0swaps