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 : 223738 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 : 2417>100 please execute split_portfolio.py -i 23319689 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2948205'] with mtr_portfolio_ids : ['23319689'] and first list_photo_ids : [] new path : /proc/223738/ 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.201564073562622 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 Mon May 26 16:07: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/1748268447_223738_1361102021_0f490b8058427b2cd2df329983ba4fc9.jpg resize: (1080, 1632) 1361102021 -2.517505039424929 treat image : temp/1748268447_223738_1361102015_3df05af2d44fc633bafe047cb1d8cae9.jpg resize: (1080, 1632) 1361102015 -5.081110468264336 treat image : temp/1748268447_223738_1361102010_2175e2ff69fa00a3d767da9272047a29.jpg resize: (1080, 1632) 1361102010 -2.9830502825252596 treat image : temp/1748268447_223738_1361102005_9113f348439d5434a3b8a0d3d21572c8.jpg resize: (1080, 1632) 1361102005 -6.723827641646702 treat image : temp/1748268447_223738_1361102002_d71187f6bb540b91021014ac21f3e689.jpg resize: (1080, 1632) 1361102002 -6.5073705747664 treat image : temp/1748268447_223738_1361101997_ef6dbfee470cb9bdb33347be9c5b2648.jpg resize: (1080, 1632) 1361101997 -5.8757491846658105 treat image : temp/1748268447_223738_1361101984_dcc407dde1f39b6e32ffa5bb1a125cbc.jpg resize: (1080, 1632) 1361101984 -4.488044008722953 treat image : temp/1748268447_223738_1361101983_a7bb6c8a88fdb232d82f306809f4419e.jpg resize: (1080, 1632) 1361101983 -5.516166777867201 treat image : temp/1748268447_223738_1361101977_6dfa96ca9ae713e9ba7550896ecf61c8.jpg resize: (1080, 1632) 1361101977 -5.731592927381563 treat image : temp/1748268447_223738_1361101971_611cccfecb09613b4352ab71a0e9d5c4.jpg resize: (1080, 1632) 1361101971 -5.379587919925088 treat image : temp/1748268447_223738_1361101968_fb8b40153e96ae781163d1c4f0b1f682.jpg resize: (1080, 1632) 1361101968 -3.5401586328940113 treat image : temp/1748268447_223738_1361101960_dc859f7fe2608235bfe34715f9435b56.jpg resize: (1080, 1632) 1361101960 -1.7135467038455525 treat image : temp/1748268447_223738_1361101479_d248d3df8ca1dd348d2a84fd5171111f.jpg resize: (1080, 1632) 1361101479 -5.189196997389735 treat image : temp/1748268447_223738_1361101476_b1ba5acc31ceacee57a33ac69cddccfd.jpg resize: (1080, 1632) 1361101476 -5.320153752816986 treat image : temp/1748268447_223738_1361101474_438a3c746f352946f05cd156bda9d093.jpg resize: (1080, 1632) 1361101474 -5.937562928849545 treat image : temp/1748268447_223738_1361101471_8a80c501f1060077169b7883b76f3d8b.jpg resize: (1080, 1632) 1361101471 -5.543575665038135 treat image : temp/1748268447_223738_1361101458_c473f2eac1f28f882b178c18629173e6.jpg resize: (1080, 1632) 1361101458 -1.0821267465384963 treat image : temp/1748268447_223738_1361101448_5bc9adc2b52dc0d7108c2367228f1bd3.jpg resize: (1080, 1632) 1361101448 -1.3538558400450844 treat image : temp/1748268447_223738_1361101435_1bf94d0e0e2ab3df7b97ae571d33d52c.jpg resize: (1080, 1632) 1361101435 -3.9819172267969773 treat image : temp/1748268447_223738_1361101418_827df6a9cc8f7b19eae02bb01b581c88.jpg resize: (1080, 1632) 1361101418 -2.484101630297149 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.012491703033447266 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.012253284454345703 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01463460922241211 save missing photos in datou_result : time spend for datou_step_exec : 17.204137563705444 time spend to save output : 0.14784550666809082 total time spend for step 1 : 17.351983070373535 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.17user 4.57system 0:22.34elapsed 88%CPU (0avgtext+0avgdata 137896maxresident)k 1456inputs+9664outputs (22major+260480minor)pagefaults 0swaps