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 : 3112978 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 : 2378>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/3112978/ 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.1829371452331543 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 16:42:31 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/1747060949_3112978_1357669949_e31246309a77f9e13914daeb56eb1088.jpg resize: (1080, 1632) 1357669949 -3.3964049857790046 treat image : temp/1747060949_3112978_1357669943_af89f6f4f3da96bfbd41594182e26a86.jpg resize: (1080, 1632) 1357669943 -3.2961644277257753 treat image : temp/1747060949_3112978_1357669939_66de193d14c2be8ad61734b6b0bf467a.jpg resize: (1080, 1632) 1357669939 -1.5141369413061947 treat image : temp/1747060949_3112978_1357669859_0bd50cdf952c748008f9e3b7a57981c5.jpg resize: (1080, 1632) 1357669859 -4.786668973813436 treat image : temp/1747060949_3112978_1357669832_8d86316e272e172949ec007ab81add51.jpg resize: (1080, 1632) 1357669832 -5.800822198808942 treat image : temp/1747060949_3112978_1357669782_7d1d3f61ae079196c31c4b1ef6717fec.jpg resize: (1080, 1632) 1357669782 -6.239051827435776 treat image : temp/1747060949_3112978_1357669753_04bfb922d34324eda2cb4f6774d2cb4b.jpg resize: (1080, 1632) 1357669753 -3.372082217750376 treat image : temp/1747060949_3112978_1357669716_783643800631301155532ad43d63721e.jpg resize: (1080, 1632) 1357669716 -6.271466816549077 treat image : temp/1747060949_3112978_1357669228_bc58d40f2d38f1ba6e756cdf6e7c7359.jpg resize: (1080, 1632) 1357669228 -5.627868523933606 treat image : temp/1747060949_3112978_1357669224_49a78c4b6ecd416431b6c1b61eee7c25.jpg resize: (1080, 1632) 1357669224 -2.7614462861199387 treat image : temp/1747060949_3112978_1357669204_fb3424a06f0af4472777ac787507c124.jpg resize: (1080, 1632) 1357669204 -1.7850367422609728 treat image : temp/1747060949_3112978_1357669176_6afa438d54c5cdb6d5b71a9574990d92.jpg resize: (1080, 1632) 1357669176 -4.27816175265363 treat image : temp/1747060949_3112978_1357668610_e6ef7cc09522078b938ecca92b1ec39a.jpg resize: (1080, 1632) 1357668610 -6.009875309110038 treat image : temp/1747060949_3112978_1357668561_cd98a7b75cf5eec27679ae8acdc889c8.jpg resize: (1080, 1632) 1357668561 -6.324830730935912 treat image : temp/1747060949_3112978_1357668546_41a25b6b34d0c18513c0e05f15a9172d.jpg resize: (1080, 1632) 1357668546 -6.308768131562864 treat image : temp/1747060949_3112978_1357668544_c84505d7d3a53032ec2bbb230065e159.jpg resize: (1080, 1632) 1357668544 -3.243530372143003 treat image : temp/1747060949_3112978_1357668541_064e2cd80097c2a3938f1098763a960c.jpg resize: (1080, 1632) 1357668541 -4.095957529761931 treat image : temp/1747060949_3112978_1357668537_26d0ebf8ee21684ec1847d7d7a68b238.jpg resize: (1080, 1632) 1357668537 -3.0748403025256636 treat image : temp/1747060949_3112978_1357668207_c45e9702b58a1b24af1da48ee6527682.jpg resize: (1080, 1632) 1357668207 -5.083270009674273 treat image : temp/1747060949_3112978_1357668131_2e6eb9710569327e52b5aa923279bfe3.jpg resize: (1080, 1632) 1357668131 -1.5178904017060628 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.01255178451538086 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.01383662223815918 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018964052200317383 save missing photos in datou_result : time spend for datou_step_exec : 16.525319576263428 time spend to save output : 0.08242154121398926 total time spend for step 1 : 16.607741117477417 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.66user 4.13system 0:22.79elapsed 86%CPU (0avgtext+0avgdata 139048maxresident)k 10728inputs+10080outputs (34major+260065minor)pagefaults 0swaps