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 : 820528 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 : 6096>100 please execute split_portfolio.py -i 25050138 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3305006'] with mtr_portfolio_ids : ['25050138'] and first list_photo_ids : [] new path : /proc/820528/ 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 : 4.28143572807312 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 Fri Aug 1 10:47:32 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/1754038048_820528_1374755667_a31fb7048ca570cfbae819e449ff364c.jpg resize: (1080, 1632) 1374755667 -2.8978760576863998 treat image : temp/1754038048_820528_1374755662_0b349ebfe46e17542815c4f956fac28c.jpg resize: (1080, 1632) 1374755662 -1.3681490957944993 treat image : temp/1754038048_820528_1374755657_927d8c6e0e9edc60c564fad6164302a6.jpg resize: (1080, 1632) 1374755657 -3.1420314538336056 treat image : temp/1754038048_820528_1374755650_9e38ac8980fe0a392ed0c4af1dfdf74a.jpg resize: (1080, 1632) 1374755650 -5.249553983730522 treat image : temp/1754038048_820528_1374755640_5ad17aa535c254e7833216b31c8a8a86.jpg resize: (1080, 1632) 1374755640 -5.193379051547387 treat image : temp/1754038048_820528_1374755634_b8e3d194874ffaecace5c19a83b83cc1.jpg resize: (1080, 1632) 1374755634 -4.896654544499037 treat image : temp/1754038048_820528_1374755621_6086d3b7e5b04c9aaf19f34d43e17317.jpg resize: (1080, 1632) 1374755621 -5.077242547958356 treat image : temp/1754038048_820528_1374755620_d2087e09d4af63c028849f29750198f0.jpg resize: (1080, 1632) 1374755620 -5.170427235927997 treat image : temp/1754038048_820528_1374755618_e294d4942c6251c2bc4f6ac84d7ae5a4.jpg resize: (1080, 1632) 1374755618 -5.101373583232944 treat image : temp/1754038048_820528_1374755615_cd8e6ed0998be90d1c17e725784adb82.jpg resize: (1080, 1632) 1374755615 -5.047422880666087 treat image : temp/1754038048_820528_1374755612_13571fd35219bd16056f7a4e177a2127.jpg resize: (1080, 1632) 1374755612 -3.674750855350912 treat image : temp/1754038048_820528_1374755610_7de31c9b9b219b20bdcaaa888b8813e5.jpg resize: (1080, 1632) 1374755610 -5.092845271137021 treat image : temp/1754038048_820528_1374755594_11cc3db026b7f17120357d4fbad7ed0f.jpg resize: (1080, 1632) 1374755594 -5.573110242303074 treat image : temp/1754038048_820528_1374755592_13f2709aaf80ee8524174475dffdda5f.jpg resize: (1080, 1632) 1374755592 -5.68915709373623 treat image : temp/1754038048_820528_1374755590_1dc11eb3b720a8f53313381cd7431b78.jpg resize: (1080, 1632) 1374755590 -5.9782877077008285 treat image : temp/1754038048_820528_1374755586_de4b6c55ec9ecc5b2903e4909bdefc53.jpg resize: (1080, 1632) 1374755586 -5.718507652669412 treat image : temp/1754038048_820528_1374755584_dcd6ab714affed6be89173bc64b6e3fd.jpg resize: (1080, 1632) 1374755584 -5.856810132321642 treat image : temp/1754038048_820528_1374755581_6647642602f998c7cf5b775e0a90cb23.jpg resize: (1080, 1632) 1374755581 -5.996231326102007 treat image : temp/1754038048_820528_1374755528_e18e5e49d62e18770476664901836db6.jpg resize: (1080, 1632) 1374755528 -5.6249429488020475 treat image : temp/1754038048_820528_1374755522_50d7d4add72f88a4ff9d179f75c0720c.jpg resize: (1080, 1632) 1374755522 -4.394475050884446 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.01453542709350586 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.05015110969543457 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.09196233749389648 save missing photos in datou_result : time spend for datou_step_exec : 16.614535331726074 time spend to save output : 0.1613328456878662 total time spend for step 1 : 16.77586817741394 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.45user 4.76system 0:22.69elapsed 84%CPU (0avgtext+0avgdata 138992maxresident)k 128inputs+9808outputs (3major+213615minor)pagefaults 0swaps