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 : 1268033 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 : 359>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1268033/ 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.240675926208496 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 21 06:12: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/1747800748_1268033_1359965841_dcb63ad7d81d383c332ccec121d48127.jpg resize: (1080, 1632) 1359965841 -4.045067230805273 treat image : temp/1747800748_1268033_1359965816_365af5b1b1cd67eb91b4f554f2a3fb91.jpg resize: (1080, 1632) 1359965816 -5.643235895261118 treat image : temp/1747800748_1268033_1359965792_c359ce9953d0fd8bf86b03f0eeed378c.jpg resize: (1080, 1632) 1359965792 -6.155510436233365 treat image : temp/1747800748_1268033_1359965767_55fe0144571860a29250d8a7be365fba.jpg resize: (1080, 1632) 1359965767 -3.5670186060156563 treat image : temp/1747800748_1268033_1359965740_0d95dcdac5b2d393548479de906c54b0.jpg resize: (1080, 1632) 1359965740 -5.732657101810709 treat image : temp/1747800748_1268033_1359965401_3058f83eeed01e4c88bdeaa89cbd6034.jpg resize: (1080, 1632) 1359965401 -5.62575126131425 treat image : temp/1747800748_1268033_1359965385_ae757cfa066db158642d38b4ecd1d51b.jpg resize: (1080, 1632) 1359965385 -5.884565874030526 treat image : temp/1747800748_1268033_1359965381_c75ba4149b7d06b2cba114639e0d3cb5.jpg resize: (1080, 1632) 1359965381 -1.125094617295544 treat image : temp/1747800748_1268033_1359965360_22fbd1732a8b325dbb979442fd3f1834.jpg resize: (1080, 1632) 1359965360 -6.486970550775142 treat image : temp/1747800748_1268033_1359965357_5fff82cbde9a32877967c76182ae1949.jpg resize: (1080, 1632) 1359965357 -5.121549228130964 treat image : temp/1747800748_1268033_1359965353_bf2912bb0b5a2f8301f1dffcccfdbec9.jpg resize: (1080, 1632) 1359965353 -5.9035232441304135 treat image : temp/1747800748_1268033_1359965350_50a50576bb3a6c257854e3ac28f462c9.jpg resize: (1080, 1632) 1359965350 -2.908203788703679 treat image : temp/1747800748_1268033_1359965251_3406d210e797ca5cf758e928a358c0c8.jpg resize: (1080, 1632) 1359965251 -5.717891699088195 treat image : temp/1747800748_1268033_1359965244_4c492fd896fe09d7a489404c7fec4532.jpg resize: (1080, 1632) 1359965244 -3.2529115216065194 treat image : temp/1747800748_1268033_1359965215_1cf5c45d3f14b1b02808c45e4d187156.jpg resize: (1080, 1632) 1359965215 -5.327145014962803 treat image : temp/1747800748_1268033_1359965212_ab891dfa9abd0b0551f9ff6f2846e23c.jpg resize: (1080, 1632) 1359965212 -6.0095126108196775 treat image : temp/1747800748_1268033_1359964946_e22ea001c8d437a97fe7f823a67b9011.jpg resize: (1080, 1632) 1359964946 -1.46097032081981 treat image : temp/1747800748_1268033_1359964945_494da0b891826134e01e2ea8c821bb04.jpg resize: (1080, 1632) 1359964945 -2.8337808872105126 treat image : temp/1747800748_1268033_1359964940_edd6e279afe22c29774ccc4fe9869e4d.jpg resize: (1080, 1632) 1359964940 -2.477224926146471 treat image : temp/1747800748_1268033_1359964915_07078308a8929893e0ee360321e19f24.jpg resize: (1080, 1632) 1359964915 -5.894153113943135 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.015734195709228516 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.02484583854675293 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01801323890686035 save missing photos in datou_result : time spend for datou_step_exec : 20.802619457244873 time spend to save output : 0.06357574462890625 total time spend for step 1 : 20.86619520187378 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.26user 9.78system 0:26.68elapsed 90%CPU (0avgtext+0avgdata 137472maxresident)k 2928inputs+10000outputs (26major+259433minor)pagefaults 0swaps