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 : 1251818 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 : 822>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/1251818/ 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 : 12.261515378952026 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 Mon May 12 08:17:41 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/1747030649_1251818_1357604727_b9d2697c568d65a45c39d4cf38959e7e.jpg resize: (1080, 1632) 1357604727 -1.9664165557111566 treat image : temp/1747030649_1251818_1357604726_e7f05f99a515bb2fa1f42d4f379c1ab5.jpg resize: (1080, 1632) 1357604726 -4.013476666669404 treat image : temp/1747030649_1251818_1357604724_0ea2aea1710a1fd2c18c7b94eefb74ce.jpg resize: (1080, 1632) 1357604724 -6.170475250014296 treat image : temp/1747030649_1251818_1357604722_19e8fdce00f2be38133a5d7507480cd1.jpg resize: (1080, 1632) 1357604722 -6.075431157985712 treat image : temp/1747030649_1251818_1357604720_5f0140e6d89f9ada60b3fa66318cc794.jpg resize: (1080, 1632) 1357604720 -3.019061711224065 treat image : temp/1747030649_1251818_1357604689_364c373ff76ef0c6d47354e726c1d9ad.jpg resize: (1080, 1632) 1357604689 -4.8111307126732346 treat image : temp/1747030649_1251818_1357604687_6fb25d06935ca0b048c4f7cf426b43af.jpg resize: (1080, 1632) 1357604687 -4.863070385645846 treat image : temp/1747030649_1251818_1357604686_7aca95d9a32aef23b5dfb63820d872bf.jpg resize: (1080, 1632) 1357604686 -5.168365051439824 treat image : temp/1747030649_1251818_1357604681_4006fe71c4cc73c206f815215f151723.jpg resize: (1080, 1632) 1357604681 -0.5837389284697175 treat image : temp/1747030649_1251818_1357604652_2bf40ca070d8dd164349fd2df6788940.jpg resize: (1080, 1632) 1357604652 -6.010560320579988 treat image : temp/1747030649_1251818_1357604649_de2f0e7a0c8638291c9c647d74fd214b.jpg resize: (1080, 1632) 1357604649 -5.390285043533062 treat image : temp/1747030649_1251818_1357604646_5036aa37785d7f1ba969a032af3624d4.jpg resize: (1080, 1632) 1357604646 -5.5364185611133205 treat image : temp/1747030649_1251818_1357604640_7cd47b1fc10fbdb962f6ba3fa8b66843.jpg resize: (1080, 1632) 1357604640 -5.271822901423854 treat image : temp/1747030649_1251818_1357604637_2d6e594773b99990def86ee658a79c68.jpg resize: (1080, 1632) 1357604637 -5.114002486823234 treat image : temp/1747030649_1251818_1357604634_64f272577ac308eae0cca3c4bc95e31b.jpg resize: (1080, 1632) 1357604634 -5.027322539279411 treat image : temp/1747030649_1251818_1357604519_fd321d18d01e1c65c13d544e425fa343.jpg resize: (1080, 1632) 1357604519 -5.407100184381727 treat image : temp/1747030649_1251818_1357603826_cddd3d94ea803a2a6597dee62e9de2d8.jpg resize: (1080, 1632) 1357603826 -5.99713142409899 treat image : temp/1747030649_1251818_1357603822_70bad7e20f3334517cffa6efb14663ff.jpg resize: (1080, 1632) 1357603822 -5.858996068529039 treat image : temp/1747030649_1251818_1357603819_986235c6006ec25eaf3070d3395bd0e5.jpg resize: (1080, 1632) 1357603819 -5.788838182875953 treat image : temp/1747030649_1251818_1357603777_35f9c6e566894a4cd5c19a7078402b9c.jpg resize: (1080, 1632) 1357603777 -1.7650708146499865 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.011780738830566406 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.143937349319458 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.07001805305480957 save missing photos in datou_result : time spend for datou_step_exec : 16.395193815231323 time spend to save output : 0.23050999641418457 total time spend for step 1 : 16.625703811645508 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.03user 3.75system 0:32.61elapsed 57%CPU (0avgtext+0avgdata 141184maxresident)k 64inputs+9672outputs (17major+259423minor)pagefaults 0swaps