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 : 3115300 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 : 2524>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/3115300/ 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.2753217220306396 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 3 10:17:31 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/1751530648_3115300_1370381727_ba960c233aadffcb0e8d432188d4752a.jpg resize: (1080, 1632) 1370381727 -5.589689235888817 treat image : temp/1751530648_3115300_1370381686_55ab0b6ce1172afc5a6b7b27ad3209c4.jpg resize: (1080, 1632) 1370381686 -5.0303087038305545 treat image : temp/1751530648_3115300_1370381683_d7e4c9bece766371dce3efc30d50497c.jpg resize: (1080, 1632) 1370381683 -5.028845492693062 treat image : temp/1751530648_3115300_1370381680_249a2306916a4d74821cdedd6bee855e.jpg resize: (1080, 1632) 1370381680 -0.655603211738296 treat image : temp/1751530648_3115300_1370381673_fd7c8da4e148c43845eb3dbaba6288f3.jpg resize: (1080, 1632) 1370381673 -2.519672213988619 treat image : temp/1751530648_3115300_1370381646_e1e1c8e073005aa4fb64d0919f707ea7.jpg resize: (1080, 1632) 1370381646 -2.6765212558481357 treat image : temp/1751530648_3115300_1370381610_0a9b38cd60b0a8d441ff1157f1d86cdd.jpg resize: (1080, 1632) 1370381610 -5.328354861865575 treat image : temp/1751530648_3115300_1370381594_a5b96106d3f525e2d55df6f59c8353d2.jpg resize: (1080, 1632) 1370381594 -5.3280769425986945 treat image : temp/1751530648_3115300_1370381557_ff5363ee221f8c4c5add23100dae1fae.jpg resize: (1080, 1632) 1370381557 -5.3410997419819095 treat image : temp/1751530648_3115300_1370381551_0a1296a7fa0844dc1191479550e771eb.jpg resize: (1080, 1632) 1370381551 -5.34377107965819 treat image : temp/1751530648_3115300_1370381541_65831fa3f943f5a2172761c271fc5e6f.jpg resize: (1080, 1632) 1370381541 -5.348894391721355 treat image : temp/1751530648_3115300_1370381534_3457300a28e5bfeae96f4d181cab44e7.jpg resize: (1080, 1632) 1370381534 -5.340770448996513 treat image : temp/1751530648_3115300_1370381488_8db06648886ec68d1add268e0c571470.jpg resize: (1080, 1632) 1370381488 -5.572154356615912 treat image : temp/1751530648_3115300_1370381483_ab0ef488c964718d8b4e8a2735918135.jpg resize: (1080, 1632) 1370381483 -5.59860337597229 treat image : temp/1751530648_3115300_1370381472_37aeb9033a6271f9f5c5e0988b7bdab5.jpg resize: (1080, 1632) 1370381472 -5.583483572038093 treat image : temp/1751530648_3115300_1370381447_551b43af11ab30a68df1d3b933d2f7f7.jpg resize: (1080, 1632) 1370381447 -5.613753993875741 treat image : temp/1751530648_3115300_1370381392_b43ef4733f6de27b045453d32a1aa246.jpg resize: (1080, 1632) 1370381392 -5.603164365946576 treat image : temp/1751530648_3115300_1370381357_04a6808d42c8acd12825a8effb3e7dce.jpg resize: (1080, 1632) 1370381357 -5.490164946306699 treat image : temp/1751530648_3115300_1370380851_e603c0e24a9c04bc2b5edc4817a4316b.jpg resize: (1080, 1632) 1370380851 -5.693138162941444 treat image : temp/1751530648_3115300_1370380822_530ba6d4f42477259603e85c29f51add.jpg resize: (1080, 1632) 1370380822 -5.729645056794941 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.015594244003295898 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.06393647193908691 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.05526089668273926 save missing photos in datou_result : time spend for datou_step_exec : 16.541128873825073 time spend to save output : 0.13976359367370605 total time spend for step 1 : 16.68089246749878 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.03user 4.42system 0:22.71elapsed 85%CPU (0avgtext+0avgdata 140004maxresident)k 128inputs+9664outputs (4major+228318minor)pagefaults 0swaps