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 : 944221 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 : 4490>100 please execute split_portfolio.py -i 22042798 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2722371'] with mtr_portfolio_ids : ['22042798'] and first list_photo_ids : [] new path : /proc/944221/ 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 : 3.3645572662353516 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 Sun Apr 6 20:07: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/1743962848_944221_1350150122_b1b4628ed8bbeba9a80fe50f5a9a84ae.jpg resize: (1080, 1632) 1350150122 -3.1233182005952003 treat image : temp/1743962848_944221_1350149855_88946c5dbe7311748ef9d39ee80c698c.jpg resize: (1080, 1632) 1350149855 -3.110265810009096 treat image : temp/1743962848_944221_1350148857_3205aa27f4df7826bc5d0d59a206b527.jpg resize: (1080, 1632) 1350148857 -5.525235521337979 treat image : temp/1743962848_944221_1350148855_963b757b1dbaf0662ab46fea658b6836.jpg resize: (1080, 1632) 1350148855 -3.2475093735969724 treat image : temp/1743962848_944221_1350148552_812ea7ff758fa074890493674664bd03.jpg resize: (1080, 1632) 1350148552 -4.267285824111652 treat image : temp/1743962848_944221_1350148499_d9ff1638eda2b9def9b8637839b46048.jpg resize: (1080, 1632) 1350148499 -3.805053871117247 treat image : temp/1743962848_944221_1350148352_ffcbf7aa6c65a5201a7312060860733e.jpg resize: (1080, 1632) 1350148352 -1.919731160450846 treat image : temp/1743962848_944221_1350148143_35eb45b5068cb306b2ff6941899e14cb.jpg resize: (1080, 1632) 1350148143 -4.814361861100438 treat image : temp/1743962848_944221_1350147968_5f843211c2c62503892e766fe8608f3b.jpg resize: (1080, 1632) 1350147968 -4.557570763541564 treat image : temp/1743962848_944221_1350147926_ea48f36bee5531db92c6390883c0f737.jpg resize: (1080, 1632) 1350147926 -3.635003255581741 treat image : temp/1743962848_944221_1350147891_4f66389488924999b75f23b06dfd1396.jpg resize: (1080, 1632) 1350147891 -5.323270331586939 treat image : temp/1743962848_944221_1350147757_4495ce4be7791308e745b4365b9c4ecc.jpg resize: (1080, 1632) 1350147757 -5.718843944506128 treat image : temp/1743962848_944221_1350147676_de135018a1b915ae6595ba1fcbdbe271.jpg resize: (1080, 1632) 1350147676 -5.879580643506833 treat image : temp/1743962848_944221_1350147673_3aa0e8199e0257c4489f08283af15bf9.jpg resize: (1080, 1632) 1350147673 -6.109805520367456 treat image : temp/1743962848_944221_1350147614_a64227b391efe599ed977250b8dcd5c6.jpg resize: (1080, 1632) 1350147614 -5.701942823888607 treat image : temp/1743962848_944221_1350147548_ab427d82091e09078bab90a9f2a10669.jpg resize: (1080, 1632) 1350147548 -4.5147419999005916 treat image : temp/1743962848_944221_1350147269_36ad2e7dd22b14805427dafb3b052c2b.jpg resize: (1080, 1632) 1350147269 -3.3023510148695165 treat image : temp/1743962848_944221_1350147094_0ca73b657b008aa7446912ca598fca5f.jpg resize: (1080, 1632) 1350147094 -3.207004071204925 treat image : temp/1743962848_944221_1350146732_628a337546cb51fb1ccafd8ca6188e80.jpg resize: (1080, 1632) 1350146732 -3.141750368899993 treat image : temp/1743962848_944221_1350146516_2836c5e5f711f77dfdf378e9187fb7af.jpg resize: (1080, 1632) 1350146516 -1.647235983638211 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.01359701156616211 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.011914730072021484 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.18900418281555176 save missing photos in datou_result : time spend for datou_step_exec : 15.882500886917114 time spend to save output : 0.21979236602783203 total time spend for step 1 : 16.102293252944946 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.69user 3.56system 0:23.44elapsed 77%CPU (0avgtext+0avgdata 143176maxresident)k 152inputs+8488outputs (7major+258497minor)pagefaults 0swaps