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 : 3752332 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 : 2732>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3752332/ 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.1807010173797607 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 Tue May 13 18: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/1747152447_3752332_1357872469_2fbf67a0d42cb4e21fbd5fd524bf9ad9.jpg resize: (1080, 1632) 1357872469 -3.303020409074869 treat image : temp/1747152447_3752332_1357872419_b3a81cef53ef8c3c88be9a9ad81eadcf.jpg resize: (1080, 1632) 1357872419 -1.2193188523924376 treat image : temp/1747152447_3752332_1357872366_6f2cf11b8e0e1f9cee2850b8a4a10e82.jpg resize: (1080, 1632) 1357872366 -1.3015966718994598 treat image : temp/1747152447_3752332_1357871889_2df6f68969c8dc7a0a96b26f32c97bcd.jpg resize: (1080, 1632) 1357871889 -5.6974128761655916 treat image : temp/1747152447_3752332_1357871860_e163b8e139c2bbb54c4297a3a6fd2da7.jpg resize: (1080, 1632) 1357871860 -3.7135756741393555 treat image : temp/1747152447_3752332_1357871826_f22486e909f7ad5dabf5b2f9f0b34196.jpg resize: (1080, 1632) 1357871826 -5.246644865948184 treat image : temp/1747152447_3752332_1357871799_be23269e3d2a589fcfd2d81e5921a663.jpg resize: (1080, 1632) 1357871799 -5.501251716704616 treat image : temp/1747152447_3752332_1357871773_07c9c08a2d0b8bb4891dac9acd0c583f.jpg resize: (1080, 1632) 1357871773 -4.682382708303666 treat image : temp/1747152447_3752332_1357871744_6e80965ec057c0511d44c314e097007f.jpg resize: (1080, 1632) 1357871744 -6.048585295102791 treat image : temp/1747152447_3752332_1357871476_1975554fdcd5ad6a4994a4ff6717c633.jpg resize: (1080, 1632) 1357871476 -1.5524929000264518 treat image : temp/1747152447_3752332_1357871473_58b6d7272c646035dce2035251ffd888.jpg resize: (1080, 1632) 1357871473 -3.9708825622369415 treat image : temp/1747152447_3752332_1357871447_de60da8606c0919ba18abfb94facc9cf.jpg resize: (1080, 1632) 1357871447 -6.104076216475971 treat image : temp/1747152447_3752332_1357871414_692580fc05c7cdf46c5c76ddec459b4c.jpg resize: (1080, 1632) 1357871414 -5.655662710785159 treat image : temp/1747152447_3752332_1357871220_c78ceab0be153309b0b2dfa65faff169.jpg resize: (1080, 1632) 1357871220 -5.18748605168933 treat image : temp/1747152447_3752332_1357871208_a230b97b7312806f852cab5f515afabb.jpg resize: (1080, 1632) 1357871208 -5.125056331047036 treat image : temp/1747152447_3752332_1357871204_f1e3071ac88d38fae37455009f9af93c.jpg resize: (1080, 1632) 1357871204 -5.175222362205393 treat image : temp/1747152447_3752332_1357871188_8761044ae7ea2d29b10f54d4fa2a5038.jpg resize: (1080, 1632) 1357871188 -2.1661691496980753 treat image : temp/1747152447_3752332_1357870895_062ae47f518348d823b7bb63b93eca82.jpg resize: (1080, 1632) 1357870895 -3.3478431195211926 treat image : temp/1747152447_3752332_1357870868_a6fc2aa98b232380ca93bd4a2522e403.jpg resize: (1080, 1632) 1357870868 -5.013809543118528 treat image : temp/1747152447_3752332_1357870847_adee2b07ec1cd8b1d2fcf47a40de886e.jpg resize: (1080, 1632) 1357870847 -5.415493198828994 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.012280702590942383 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.013054132461547852 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017807960510253906 save missing photos in datou_result : time spend for datou_step_exec : 16.78736400604248 time spend to save output : 0.049384117126464844 total time spend for step 1 : 16.836748123168945 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.82user 4.69system 0:21.79elapsed 89%CPU (0avgtext+0avgdata 140572maxresident)k 3152inputs+9496outputs (16major+261128minor)pagefaults 0swaps