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 : 1964472 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 : 4162>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/1964472/ 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.2285192012786865 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 Thu Feb 6 03:27:27 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/1738808845_1964472_1335100216_f6cc27e3acfea83719e368771faca8c0.jpg resize: (1080, 1632) 1335100216 -5.535467723459602 treat image : temp/1738808845_1964472_1335100215_67a12b02288206856afd48e5164db51f.jpg resize: (1080, 1632) 1335100215 -2.37469829083808 treat image : temp/1738808845_1964472_1335100214_ab07a7ff162a756d7e213028cb4e98f4.jpg resize: (1080, 1632) 1335100214 -2.4845748632258604 treat image : temp/1738808845_1964472_1335100213_708e23a56c934d5bc03b985c24eba7dd.jpg resize: (1080, 1632) 1335100213 -3.840335082119869 treat image : temp/1738808845_1964472_1335100212_fe469c8a85196bb5cd2f8393e43cbfbf.jpg resize: (1080, 1632) 1335100212 -3.036435381511884 treat image : temp/1738808845_1964472_1335100211_2e309a077979ed271f704291e9ad42d1.jpg resize: (1080, 1632) 1335100211 -3.5881777219593567 treat image : temp/1738808845_1964472_1335100028_90e440e0c40cc138dc04867148f8748e.jpg resize: (1080, 1632) 1335100028 -3.7962392978195005 treat image : temp/1738808845_1964472_1335100027_4a6ab487caa4ea5ea6168ca40ed00206.jpg resize: (1080, 1632) 1335100027 -2.3853881953425464 treat image : temp/1738808845_1964472_1335100026_8f9bb9565d6b638766c899621401f2c9.jpg resize: (1080, 1632) 1335100026 -1.4396676350207838 treat image : temp/1738808845_1964472_1335100025_8c51b90d49ab2df6e7ea8e843811aeac.jpg resize: (1080, 1632) 1335100025 -2.5487193818570315 treat image : temp/1738808845_1964472_1335100023_905b01827c41fb97ef7f3ab465f8fb44.jpg resize: (1080, 1632) 1335100023 -4.8954231311341 treat image : temp/1738808845_1964472_1335100017_3e10a5195514b5a0ff64a2c7c731e68a.jpg resize: (1080, 1632) 1335100017 -3.7305788149769796 treat image : temp/1738808845_1964472_1335099997_0db7952feaced0f1ee8858c5830fe9f5.jpg resize: (1080, 1632) 1335099997 -5.6189351863253805 treat image : temp/1738808845_1964472_1335099996_53186141e790531cefb0251ce4d5989d.jpg resize: (1080, 1632) 1335099996 -3.7642689683198873 treat image : temp/1738808845_1964472_1335099995_6cb8220f611a3ae7cf33c29b5c6af83f.jpg resize: (1080, 1632) 1335099995 -4.13701993068519 treat image : temp/1738808845_1964472_1335099994_c5a45458055389d3ee461cb262a8c8de.jpg resize: (1080, 1632) 1335099994 -5.76302046881925 treat image : temp/1738808845_1964472_1335099992_dcd6985bc4a58c56ef87220d0c82cd83.jpg resize: (1080, 1632) 1335099992 -6.041464159062258 treat image : temp/1738808845_1964472_1335099990_2339a6ad021780b713a27d4ba25ebedb.jpg resize: (1080, 1632) 1335099990 -5.936731268335611 treat image : temp/1738808845_1964472_1335099903_e070f707ed551f8ba5f6e8fbb0ae130c.jpg resize: (1080, 1632) 1335099903 -0.9229844196443336 treat image : temp/1738808845_1964472_1335099900_f41d3312c777737da0182db0bf2036fc.jpg resize: (1080, 1632) 1335099900 -2.7086845124896026 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.013643026351928711 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.014927387237548828 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014862775802612305 save missing photos in datou_result : time spend for datou_step_exec : 13.734661340713501 time spend to save output : 0.04843759536743164 total time spend for step 1 : 13.783098936080933 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.07user 2.11system 0:17.41elapsed 92%CPU (0avgtext+0avgdata 140816maxresident)k 0inputs+9040outputs (1major+151674minor)pagefaults 0swaps