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 : 3632334 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 : 570>100 please execute split_portfolio.py -i 21131516 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2646570'] with mtr_portfolio_ids : ['21131516'] and first list_photo_ids : [] new path : /proc/3632334/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 1.6879322528839111 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 Mar 7 16:37:28 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/1741361847_3632334_1341495548_667eae9523242921d8d119210093a31f.jpg resize: (1080, 1632) 1341495548 -5.489282780515831 treat image : temp/1741361847_3632334_1341495529_808bc4b3ed9b8e3bfd793b8331355a47.jpg resize: (1080, 1632) 1341495529 -4.855409484851187 treat image : temp/1741361847_3632334_1341495525_c3937dd0f9aeb0a568ea137493718cc4.jpg resize: (1080, 1632) 1341495525 -6.058999438795299 treat image : temp/1741361847_3632334_1341495520_bc4e01a6e8a8c872356a69c4856e7768.jpg resize: (1080, 1632) 1341495520 -6.5377072421267295 treat image : temp/1741361847_3632334_1341495511_6c736f70017e17229235a919fc7f89ef.jpg resize: (1080, 1632) 1341495511 -4.580974356324423 treat image : temp/1741361847_3632334_1341495497_fea8d7cfdb4beac2e5a02e6e242e2299.jpg resize: (1080, 1632) 1341495497 -6.196334370533171 treat image : temp/1741361847_3632334_1341495281_e308dfd4941844311edf24840ec25f2f.jpg resize: (1080, 1632) 1341495281 -2.5710799479450563 treat image : temp/1741361847_3632334_1341495269_f6ad51a3e6ec4727a563570472f7d309.jpg resize: (1080, 1632) 1341495269 -5.496637366025264 treat image : temp/1741361847_3632334_1341495251_9719bf47676cd9e3da3a3dafa85c3ad4.jpg resize: (1080, 1632) 1341495251 -6.002297606288731 treat image : temp/1741361847_3632334_1341495236_fccc5e2a4ec7e8e9feae86f6b988e2d5.jpg resize: (1080, 1632) 1341495236 -6.628755610742317 treat image : temp/1741361847_3632334_1341495221_fb4ab4ed3a790fb2ec5abbfc47bd82fc.jpg resize: (1080, 1632) 1341495221 -5.549888604219193 treat image : temp/1741361847_3632334_1341495137_008e99444bba12cc69bc6c27a8903ef5.jpg resize: (1080, 1632) 1341495137 -2.627569196065724 treat image : temp/1741361847_3632334_1341495132_7f0c816e06a10ea7797b0f061958003c.jpg resize: (1080, 1632) 1341495132 -3.51494935985674 treat image : temp/1741361847_3632334_1341495047_98b7920f203bd2bd302cd250b4429bbb.jpg resize: (1080, 1632) 1341495047 -4.903181953178158 treat image : temp/1741361847_3632334_1341495043_38eb59d1183a18d3f9bb2bd146726833.jpg resize: (1080, 1632) 1341495043 -3.869312677072964 treat image : temp/1741361847_3632334_1341495033_a3a8d23347a2a794af052b960d069ccc.jpg resize: (1080, 1632) 1341495033 -5.063609155090074 treat image : temp/1741361847_3632334_1341494987_e6550266efe88a7b78783c3c3413f453.jpg resize: (1080, 1632) 1341494987 -1.6631403203963495 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 : 17 time used for this insertion : 34.61244344711304 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.015845775604248047 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.01392054557800293 save missing photos in datou_result : time spend for datou_step_exec : 16.064338445663452 time spend to save output : 34.647350788116455 total time spend for step 1 : 50.71168923377991 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 17 set_done_treatment 13.98user 4.60system 0:54.75elapsed 33%CPU (0avgtext+0avgdata 139976maxresident)k 104inputs+8576outputs (7major+229843minor)pagefaults 0swaps