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 : 2219250 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 : 956>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/2219250/ 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.490877866744995 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 May 16 05:17: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/1747365448_2219250_1358794932_89c3917524dde8a7c089bbf93a183f9d.jpg resize: (1080, 1632) 1358794932 -1.8351198830971227 treat image : temp/1747365448_2219250_1358794929_ac370ab8659d9667cfe96cd0a421048f.jpg resize: (1080, 1632) 1358794929 -3.2602055496562317 treat image : temp/1747365448_2219250_1358794904_1d7e04b5d29fcdb7c0bbd21f423e2230.jpg resize: (1080, 1632) 1358794904 -6.1870537175142815 treat image : temp/1747365448_2219250_1358794902_ecdac0c2fb1e11040c9654bb2126aa0a.jpg resize: (1080, 1632) 1358794902 -1.338039708302437 treat image : temp/1747365448_2219250_1358794856_3ee1b69092a32979fa95e7ab0b43173f.jpg resize: (1080, 1632) 1358794856 -3.31101349999715 treat image : temp/1747365448_2219250_1358794853_b0788d447b0f4e4c55776e05d46f058c.jpg resize: (1080, 1632) 1358794853 -5.401804511898069 treat image : temp/1747365448_2219250_1358794850_be134fd72db83de0c54df457987cf819.jpg resize: (1080, 1632) 1358794850 -5.66494094025622 treat image : temp/1747365448_2219250_1358794846_448dd01e5995fac954d415a0dcd04205.jpg resize: (1080, 1632) 1358794846 -5.895799127088 treat image : temp/1747365448_2219250_1358794842_89487afe8342477901f7f745d11ac480.jpg resize: (1080, 1632) 1358794842 -2.896017892793381 treat image : temp/1747365448_2219250_1358794823_9f5417ff00fa777fff05651a5055e9ad.jpg resize: (1080, 1632) 1358794823 -5.751579885472949 treat image : temp/1747365448_2219250_1358794819_a6a17f151c590ee7643d54a17a9de3f0.jpg resize: (1080, 1632) 1358794819 -4.795714001294676 treat image : temp/1747365448_2219250_1358794817_8dcf9c1e8f1e503638f8394dd7c542dd.jpg resize: (1080, 1632) 1358794817 -6.01107666187163 treat image : temp/1747365448_2219250_1358794815_03857c5f407ae3cf17c73b557389a323.jpg resize: (1080, 1632) 1358794815 -5.3336593483329455 treat image : temp/1747365448_2219250_1358794812_c0b767313f903c01febc2a2470f1e0f2.jpg resize: (1080, 1632) 1358794812 -5.594773529037571 treat image : temp/1747365448_2219250_1358794808_110cc14a88ff977eb3020b57440cb1a9.jpg resize: (1080, 1632) 1358794808 -5.663642725619733 treat image : temp/1747365448_2219250_1358794799_713e94a789801f17bfe7ed4b01e80265.jpg resize: (1080, 1632) 1358794799 -5.539106461708143 treat image : temp/1747365448_2219250_1358794794_5569fcafb5585b9ac7c81e9c4b30c44c.jpg resize: (1080, 1632) 1358794794 -4.469760138522103 treat image : temp/1747365448_2219250_1358794782_0a9c6f2075997edd99e1189308fd494b.jpg resize: (1080, 1632) 1358794782 -5.677458841706309 treat image : temp/1747365448_2219250_1358794773_ae472dbd3f8c9a65269bdf569333828c.jpg resize: (1080, 1632) 1358794773 -5.078745679880459 treat image : temp/1747365448_2219250_1358794771_a6b54a8131a1e75f66b811c7dbb99395.jpg resize: (1080, 1632) 1358794771 -5.296946779736814 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.013703107833862305 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.22151875495910645 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2504923343658447 save missing photos in datou_result : time spend for datou_step_exec : 15.253897905349731 time spend to save output : 0.4908134937286377 total time spend for step 1 : 15.74471139907837 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.38user 3.26system 0:20.40elapsed 86%CPU (0avgtext+0avgdata 142680maxresident)k 128inputs+9888outputs (4major+261358minor)pagefaults 0swaps