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 : 3370487 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 : 1932>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/3370487/ 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.2462522983551025 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 Sat Mar 22 03:47:34 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/1742611652_3370487_1346327959_04f5a9d49702a2f39d7cb79c52d50062.jpg resize: (1080, 1632) 1346327959 -4.5924379691699775 treat image : temp/1742611652_3370487_1346327956_ffb96189f3566b5d6d6ab64b2729780a.jpg resize: (1080, 1632) 1346327956 -1.4656719102614149 treat image : temp/1742611652_3370487_1346327953_0b3ba7ed425bbbf94b18ad7a15c04950.jpg resize: (1080, 1632) 1346327953 -2.810779765741911 treat image : temp/1742611652_3370487_1346327950_75528e891a1d618d34400bb3d8c5ba82.jpg resize: (1080, 1632) 1346327950 -4.625170737231397 treat image : temp/1742611652_3370487_1346327945_96e57080f5f73456a43fa1b52f60f8ff.jpg resize: (1080, 1632) 1346327945 -6.159905828418805 treat image : temp/1742611652_3370487_1346327939_8fbda12876d4226244366575a4faf795.jpg resize: (1080, 1632) 1346327939 -5.358160484598534 treat image : temp/1742611652_3370487_1346327918_5ad195981fae559b4818f0cba9940e5d.jpg resize: (1080, 1632) 1346327918 -4.238647454587257 treat image : temp/1742611652_3370487_1346327914_531bc5d566140fe6731286b82d59c4b3.jpg resize: (1080, 1632) 1346327914 -5.010845786484293 treat image : temp/1742611652_3370487_1346327910_7a7edb380d6c8511ff0f3433702d0c8e.jpg resize: (1080, 1632) 1346327910 -5.850864236758054 treat image : temp/1742611652_3370487_1346327905_e44492bf0efc5b6182b8c6bb82500bfd.jpg resize: (1080, 1632) 1346327905 -5.898340241969898 treat image : temp/1742611652_3370487_1346327898_540370231d6ee24c5d6dfbb6472ca960.jpg resize: (1080, 1632) 1346327898 -6.382900654323424 treat image : temp/1742611652_3370487_1346327891_1107502c1534f6e26d0bf4854217e88e.jpg resize: (1080, 1632) 1346327891 -5.987375432604494 treat image : temp/1742611652_3370487_1346327876_5b88d0f7564d0d0c9bf5943b1c12c7cc.jpg resize: (1080, 1632) 1346327876 -4.964350754572517 treat image : temp/1742611652_3370487_1346327873_f156478452d1509f70c381d678ec8ec5.jpg resize: (1080, 1632) 1346327873 -5.715642816732403 treat image : temp/1742611652_3370487_1346327869_18a836028fcb45a94f9d139731ae87c1.jpg resize: (1080, 1632) 1346327869 -2.486863538532371 treat image : temp/1742611652_3370487_1346327866_a9c5130cffc553ce1e7bdb7b316a3133.jpg resize: (1080, 1632) 1346327866 -3.4928293660196865 treat image : temp/1742611652_3370487_1346327862_288e55af1b40e6a1745af63c92d9c6c0.jpg resize: (1080, 1632) 1346327862 -4.206859410371858 treat image : temp/1742611652_3370487_1346327856_fc75cc184bb52f675880c09813a11fd6.jpg resize: (1080, 1632) 1346327856 -5.161473637625886 treat image : temp/1742611652_3370487_1346327749_df7509a2fd0e744ba69c86f79a000fdf.jpg resize: (1080, 1632) 1346327749 -5.222814281853149 treat image : temp/1742611652_3370487_1346327745_1b706fc29d6ba14c76dc96ffb842d5fb.jpg resize: (1080, 1632) 1346327745 -6.208201222556797 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.015494108200073242 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.10869050025939941 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.10334086418151855 save missing photos in datou_result : time spend for datou_step_exec : 15.098577737808228 time spend to save output : 0.23276472091674805 total time spend for step 1 : 15.331342458724976 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.90user 3.86system 0:24.11elapsed 73%CPU (0avgtext+0avgdata 138032maxresident)k 160inputs+10112outputs (6major+261312minor)pagefaults 0swaps