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 : 2962110 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 : 629>100 please execute split_portfolio.py -i 20128731 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2535930'] with mtr_portfolio_ids : ['20128731'] and first list_photo_ids : [] new path : /proc/2962110/ 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.206048011779785 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 Sat Feb 1 03:22: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/1738376549_2962110_1333567836_df92af9a8329efaf76fdda34db14f877.jpg resize: (1080, 1632) 1333567836 -3.584735427823975 treat image : temp/1738376549_2962110_1333567760_0b591613b1362856c8893a6fee8fa47a.jpg resize: (1080, 1632) 1333567760 -6.427084254011975 treat image : temp/1738376549_2962110_1333567687_2abd625d3dc5b67c97aecd54feb659ce.jpg resize: (1080, 1632) 1333567687 -6.63602636615316 treat image : temp/1738376549_2962110_1333567631_cafccba48143960e342968c38b1735ae.jpg resize: (1080, 1632) 1333567631 -6.736348604509088 treat image : temp/1738376549_2962110_1333567251_d5b4f84fb66877f56d5106a6cecc3183.jpg resize: (1080, 1632) 1333567251 -2.3459337285060675 treat image : temp/1738376549_2962110_1333567250_73896de9f5dc30593b21ccb546e30894.jpg resize: (1080, 1632) 1333567250 -2.5257188007349662 treat image : temp/1738376549_2962110_1333567249_8632febfd1dc3caa6f54771589fa9e9d.jpg resize: (1080, 1632) 1333567249 -2.800406888842621 treat image : temp/1738376549_2962110_1333567248_3d83d7367ad43bf44f25cb94c6d98ffd.jpg resize: (1080, 1632) 1333567248 -5.208847512593041 treat image : temp/1738376549_2962110_1333557350_45d63bacfc6bec3b1e1b22649aa87f85.jpg resize: (1080, 1632) 1333557350 -6.5623110251380306 treat image : temp/1738376549_2962110_1333557017_894e1f863e81702c9e51e56024a387a4.jpg resize: (1080, 1632) 1333557017 -2.4431127038357094 treat image : temp/1738376549_2962110_1333556912_85c1180dc7b4282e65d24ffcb4f6283c.jpg resize: (1080, 1632) 1333556912 -5.023505619485905 treat image : temp/1738376549_2962110_1333556909_1f436c4b6598fd99ffe4e7f2a5281b57.jpg resize: (1080, 1632) 1333556909 -6.132250045531538 treat image : temp/1738376549_2962110_1333556908_5f242057528dd04e8acac5fc134c7461.jpg resize: (1080, 1632) 1333556908 -6.29387034475745 treat image : temp/1738376549_2962110_1333556906_a2ff77355cc40810533203b14652028b.jpg resize: (1080, 1632) 1333556906 -6.398930809627973 treat image : temp/1738376549_2962110_1333556903_90e015317173ec54aa45c8419e08771b.jpg resize: (1080, 1632) 1333556903 -5.850579513695346 treat image : temp/1738376549_2962110_1333556496_92fbc93de230b1828eb9dfdb10ed1c14.jpg resize: (1080, 1632) 1333556496 -2.9038398742931397 treat image : temp/1738376549_2962110_1333556470_1d63ed017ade23d88466404412f1f8d2.jpg resize: (1080, 1632) 1333556470 -2.9038398742931397 treat image : temp/1738376549_2962110_1333556468_2a7b50c85b1bede0112bba779a5586f7.jpg resize: (1080, 1632) 1333556468 -5.879917170432082 treat image : temp/1738376549_2962110_1333556467_8313e42e34b60ced6b4579966142eb6d.jpg resize: (1080, 1632) 1333556467 -5.879917170432082 treat image : temp/1738376549_2962110_1333556464_a0c0f5b6b292e88aa1f67c4d86cd6633.jpg resize: (1080, 1632) 1333556464 -5.911923571844811 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 : 1.6489770412445068 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.014925241470336914 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02087569236755371 save missing photos in datou_result : time spend for datou_step_exec : 14.700022220611572 time spend to save output : 1.6905474662780762 total time spend for step 1 : 16.39056968688965 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.74user 3.44system 0:22.81elapsed 75%CPU (0avgtext+0avgdata 137500maxresident)k 56inputs+10616outputs (9major+255885minor)pagefaults 0swaps