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 : 2435443 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 : 2581>100 please execute split_portfolio.py -i 25197410 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3322248'] with mtr_portfolio_ids : ['25197410'] and first list_photo_ids : [] new path : /proc/2435443/ 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 : 1.8681426048278809 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 Jul 23 09: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/1753255047_2435443_1373302882_f42ffe6adb44e2037b9288cd5e4e1b0b.jpg resize: (1080, 1632) 1373302882 -3.0257072734678 treat image : temp/1753255047_2435443_1373302855_0b3fa9ab7ac6b8d66633a3f4831418a9.jpg resize: (1080, 1632) 1373302855 -3.035733818042655 treat image : temp/1753255047_2435443_1373302824_e6c647ef45236b1878350122e6838d47.jpg resize: (1080, 1632) 1373302824 -3.045855093723669 treat image : temp/1753255047_2435443_1373302793_2e929260a166adf12c106006aa2f7817.jpg resize: (1080, 1632) 1373302793 -3.0373042521049443 treat image : temp/1753255047_2435443_1373302762_7097f907fb159a6c914f3c9ef7ad72c0.jpg resize: (1080, 1632) 1373302762 -3.026903443077882 treat image : temp/1753255047_2435443_1373302753_9519fb22af09baa3850859394a6b7d84.jpg resize: (1080, 1632) 1373302753 -3.0162708906119735 treat image : temp/1753255047_2435443_1373302736_f27cd9c33f1b974b1ad4fbba067c385f.jpg resize: (1080, 1632) 1373302736 -3.44869400718388 treat image : temp/1753255047_2435443_1373302733_59b72ba898db65afe7cb7d50352a3ef0.jpg resize: (1080, 1632) 1373302733 -3.4303806690487617 treat image : temp/1753255047_2435443_1373302730_b17056aa0448cfaa6bfa69195a053041.jpg resize: (1080, 1632) 1373302730 -3.443237136442138 treat image : temp/1753255047_2435443_1373302727_4b8110183d7b835e19d99bb68be3b1a7.jpg resize: (1080, 1632) 1373302727 -3.0279610453484693 treat image : temp/1753255047_2435443_1373302720_ffb0787d4f942a07e27455c2a8ba2290.jpg resize: (1080, 1632) 1373302720 -3.043455214308809 treat image : temp/1753255047_2435443_1373302701_fc8e4c055ad921e378b99d74383af4ec.jpg resize: (1080, 1632) 1373302701 -3.03722127816094 treat image : temp/1753255047_2435443_1373302560_4e7f9e9f76a735a56c708ba35415e8e4.jpg resize: (1080, 1632) 1373302560 -3.4179888112442893 treat image : temp/1753255047_2435443_1373302528_1131cf913f57b7d326d36e437d5649d1.jpg resize: (1080, 1632) 1373302528 -3.416743772465798 treat image : temp/1753255047_2435443_1373302524_0560ffdc6d5f4ca4295b688a311fbef3.jpg resize: (1080, 1632) 1373302524 -3.424767302044793 treat image : temp/1753255047_2435443_1373302523_c6ae325326cbde9b0d003803f525da02.jpg resize: (1080, 1632) 1373302523 -3.4130150361149236 treat image : temp/1753255047_2435443_1373302519_c5ac2d23d734944fe811b90bf350f0a6.jpg resize: (1080, 1632) 1373302519 -3.4302452873947997 treat image : temp/1753255047_2435443_1373302514_6918a12eaa23d712e1990391763112e4.jpg resize: (1080, 1632) 1373302514 -3.433727616232197 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.013828039169311523 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.061949729919433594 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.10382413864135742 save missing photos in datou_result : time spend for datou_step_exec : 13.095284700393677 time spend to save output : 0.18442416191101074 total time spend for step 1 : 13.279708862304688 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 12.52user 3.18system 0:17.76elapsed 88%CPU (0avgtext+0avgdata 139976maxresident)k 0inputs+6864outputs (0major+234754minor)pagefaults 0swaps