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 : 1768936 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 : 384>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/1768936/ 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.0493087768554688 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 Feb 5 02:52: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/1738720347_1768936_1334745676_c4473b8be5e55ebb393c1b5d24979238.jpg resize: (1080, 1632) 1334745676 -3.60057649910922 treat image : temp/1738720347_1768936_1334745661_c256e1f541e87a27597fb279c0680a74.jpg resize: (1080, 1632) 1334745661 -5.264698692864107 treat image : temp/1738720347_1768936_1334745639_5ced69aef4dbfee30087a77331704c06.jpg resize: (1080, 1632) 1334745639 -3.872205537239538 treat image : temp/1738720347_1768936_1334745636_93e0f80ae84aba4c710224bb3475e900.jpg resize: (1080, 1632) 1334745636 -6.012990232629494 treat image : temp/1738720347_1768936_1334745598_0b9f2fb287c967c96db5bc4bc2b8f90d.jpg resize: (1080, 1632) 1334745598 -5.074185246287356 treat image : temp/1738720347_1768936_1334745596_551c0c9cbc2d3ecc74575b3f805ed983.jpg resize: (1080, 1632) 1334745596 -4.67379721568522 treat image : temp/1738720347_1768936_1334745435_d11af321292f0482e0754d3f4c1d804d.jpg resize: (1080, 1632) 1334745435 -4.078015654139736 treat image : temp/1738720347_1768936_1334745434_45d8d4549933ff43ad389ec473825ee6.jpg resize: (1080, 1632) 1334745434 -5.8886632323470325 treat image : temp/1738720347_1768936_1334745432_e27c879ba8d3c176d60cb67c66461506.jpg resize: (1080, 1632) 1334745432 -6.31210442025686 treat image : temp/1738720347_1768936_1334745431_03a90c2421dafa2c97b60fb9f51c5a47.jpg resize: (1080, 1632) 1334745431 -6.342986843358147 treat image : temp/1738720347_1768936_1334745430_be45eb0edefd700131cd3219751ec318.jpg resize: (1080, 1632) 1334745430 -6.6682810535335975 treat image : temp/1738720347_1768936_1334745429_a0a38ebb66d6dc7f5198fb33bbe5c72a.jpg resize: (1080, 1632) 1334745429 -6.252474352494221 treat image : temp/1738720347_1768936_1334744925_c7197c5d750e7d9eb8bcccba40207342.jpg resize: (1080, 1632) 1334744925 -2.1540284205211453 treat image : temp/1738720347_1768936_1334744921_f14f60f9187fc9109dad9858a09872f5.jpg resize: (1080, 1632) 1334744921 -2.1540284205211453 treat image : temp/1738720347_1768936_1334744910_2856f9b92270aa624e1b8704ed047a93.jpg resize: (1080, 1632) 1334744910 -3.113223226376086 treat image : temp/1738720347_1768936_1334744909_4ac45c6258d387157392b7d471986301.jpg resize: (1080, 1632) 1334744909 -3.113223226376086 treat image : temp/1738720347_1768936_1334744903_cc02adffdd68085a20035e6aabf17503.jpg resize: (1080, 1632) 1334744903 -5.7888107614450215 treat image : temp/1738720347_1768936_1334744896_e747808c1f59316227cf0451f998be14.jpg resize: (1080, 1632) 1334744896 -4.741153157026663 treat image : temp/1738720347_1768936_1334744887_cf02f81c25640115e61f6fd0d34c676f.jpg resize: (1080, 1632) 1334744887 -5.245635441861417 treat image : temp/1738720347_1768936_1334744886_8a0356d3b0d6588d4cd4b454bd195ba2.jpg resize: (1080, 1632) 1334744886 -5.851100860792657 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.05939745903015137 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.023923397064208984 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01596999168395996 save missing photos in datou_result : time spend for datou_step_exec : 13.134544372558594 time spend to save output : 0.10451817512512207 total time spend for step 1 : 13.239062547683716 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.00user 1.55system 0:18.57elapsed 83%CPU (0avgtext+0avgdata 138772maxresident)k 0inputs+10216outputs (2major+118769minor)pagefaults 0swaps