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 : 3866144 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 : 2062>100 please execute split_portfolio.py -i 20528746 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2584364'] with mtr_portfolio_ids : ['20528746'] and first list_photo_ids : [] new path : /proc/3866144/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.006930351257324 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 Feb 14 10:02:30 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/1739523748_3866144_1337584929_6aef61f38ed096cdbdcb60ec0304cdff.jpg resize: (1080, 1632) 1337584929 -6.384065814371163 treat image : temp/1739523748_3866144_1337584925_e142b1ef9b19b4610f1bc82c6491391f.jpg resize: (1080, 1632) 1337584925 -5.9299108227564155 treat image : temp/1739523748_3866144_1337584923_a99e048b08b956c3c6c00e47aab83258.jpg resize: (1080, 1632) 1337584923 -6.170652540073864 treat image : temp/1739523748_3866144_1337584898_5c379eb3bae2bd20d8e1ecd687ac7bcd.jpg resize: (1080, 1632) 1337584898 -6.1269145687166615 treat image : temp/1739523748_3866144_1337584895_301a3e63c28d6dcba11d91eb450d670f.jpg resize: (1080, 1632) 1337584895 -7.068496813867068 treat image : temp/1739523748_3866144_1337584890_06fec47498fa74c7b33a399f239d6d92.jpg resize: (1080, 1632) 1337584890 -6.2698847329490555 treat image : temp/1739523748_3866144_1337584884_1a2b078cfe6438d0126adb976900ab11.jpg resize: (1080, 1632) 1337584884 -6.101629150380086 treat image : temp/1739523748_3866144_1337584669_273d563c7785db6939f81b2f9bd0f2e0.jpg resize: (1080, 1632) 1337584669 -3.5192060761127655 treat image : temp/1739523748_3866144_1337584653_dedc6b54f8b55bb7e304c8bd6643f294.jpg resize: (1080, 1632) 1337584653 -4.805905399131807 treat image : temp/1739523748_3866144_1337584641_8673ba14dbeea1655854e3703a07aaac.jpg resize: (1080, 1632) 1337584641 -5.793688643709012 treat image : temp/1739523748_3866144_1337584638_02afba3c63f987733229040db6045ab8.jpg resize: (1080, 1632) 1337584638 -2.6502577777242338 treat image : temp/1739523748_3866144_1337584635_cba485274d24a930ca7e2c282b02648d.jpg resize: (1080, 1632) 1337584635 -4.699638937982797 treat image : temp/1739523748_3866144_1337584625_267b5ff07d86e1606b7c824a6833d93f.jpg resize: (1080, 1632) 1337584625 -6.728780606349589 treat image : temp/1739523748_3866144_1337584555_763a66d287dbf2100e5972d878a42172.jpg resize: (1080, 1632) 1337584555 -6.387539505232663 treat image : temp/1739523748_3866144_1337584398_3e7354ae7f44553808589848686912b8.jpg resize: (1080, 1632) 1337584398 -6.370888017792905 treat image : temp/1739523748_3866144_1337584391_11bfa33bab227daea1b506397b6c9b4f.jpg resize: (1080, 1632) 1337584391 -6.39147386836205 treat image : temp/1739523748_3866144_1337584385_3aadcfc2c2b5103b03948bb26dfb9616.jpg resize: (1080, 1632) 1337584385 -6.494449749188762 treat image : temp/1739523748_3866144_1337584372_4c25aa31e313e14e1eb32f55e3d75614.jpg resize: (1080, 1632) 1337584372 -6.836603450816523 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 : 18 time used for this insertion : 0.013516426086425781 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.0152587890625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01971149444580078 save missing photos in datou_result : time spend for datou_step_exec : 13.574275016784668 time spend to save output : 0.05384325981140137 total time spend for step 1 : 13.62811827659607 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.79user 2.16system 0:18.97elapsed 84%CPU (0avgtext+0avgdata 139664maxresident)k 144inputs+11712outputs (17major+143090minor)pagefaults 0swaps