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 : 1646640 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 : 2067>100 please execute split_portfolio.py -i 21319625 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2660211'] with mtr_portfolio_ids : ['21319625'] and first list_photo_ids : [] new path : /proc/1646640/ 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.851841926574707 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 Wed Mar 12 10:37:29 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/1741772246_1646640_1343350871_f0b9705d1da098edf1fe024a881315d0.jpg resize: (1080, 1632) 1343350871 -5.120524026971228 treat image : temp/1741772246_1646640_1343350863_4c16fa65b74f38cd680fcb4a7bd93502.jpg resize: (1080, 1632) 1343350863 -5.093887164865672 treat image : temp/1741772246_1646640_1343350858_52c7be3f4679e44176a2ebfce68fc6e8.jpg resize: (1080, 1632) 1343350858 -2.9819895665901535 treat image : temp/1741772246_1646640_1343350855_6d4041b3cfd8ebeef6733721bbbb43ee.jpg resize: (1080, 1632) 1343350855 -5.824877291947916 treat image : temp/1741772246_1646640_1343350847_5f8e7c8ecdb5c133a3b0b0bf2860f7dd.jpg resize: (1080, 1632) 1343350847 -5.150665046842449 treat image : temp/1741772246_1646640_1343350841_fdf033430054f497471ced019c9bff6e.jpg resize: (1080, 1632) 1343350841 -1.5397637437372 treat image : temp/1741772246_1646640_1343350770_e97b80a48422eb3c6dcba5121faab872.jpg resize: (1080, 1632) 1343350770 -2.390657654416367 treat image : temp/1741772246_1646640_1343350767_4cba3173bcc5dc6dc7c12c462651d21e.jpg resize: (1080, 1632) 1343350767 -5.199324138287377 treat image : temp/1741772246_1646640_1343350761_7317cf31be60c52cc13edf5694955d59.jpg resize: (1080, 1632) 1343350761 -5.969475100281213 treat image : temp/1741772246_1646640_1343350753_b61aae55f7534dd3569da9e26f4fa09d.jpg resize: (1080, 1632) 1343350753 -4.130258472028244 treat image : temp/1741772246_1646640_1343350736_674738b4a2cafff378e45839a94c49cc.jpg resize: (1080, 1632) 1343350736 -5.3141549561276396 treat image : temp/1741772246_1646640_1343350679_d32101fd3050087f44be02eeb7b2f3b9.jpg resize: (1080, 1632) 1343350679 -5.174843346485534 treat image : temp/1741772246_1646640_1343350676_c2b41a2c35df7596f8c0d850a1696d73.jpg resize: (1080, 1632) 1343350676 -5.8736319213788715 treat image : temp/1741772246_1646640_1343350670_585e4fa449ed167a0722a3be0e6c7c76.jpg resize: (1080, 1632) 1343350670 -5.875274054433228 treat image : temp/1741772246_1646640_1343350666_4fc0494005162ef4d6ca4766d2374cfb.jpg resize: (1080, 1632) 1343350666 -3.411168290873781 treat image : temp/1741772246_1646640_1343350623_34ba6ee1c2924f5d13ee26fc87b6bb3c.jpg resize: (1080, 1632) 1343350623 -5.782804885332336 treat image : temp/1741772246_1646640_1343350617_c904e01bbf34de2bbb4237bbf673adc1.jpg resize: (1080, 1632) 1343350617 -6.2047636683714344 treat image : temp/1741772246_1646640_1343350614_f8143acb837d0a44713620b82908dd0a.jpg resize: (1080, 1632) 1343350614 -3.7640091772470754 treat image : temp/1741772246_1646640_1343350608_04b2d58e98bc2d4f6c84eb4884f36fbe.jpg resize: (1080, 1632) 1343350608 -3.8287958918047025 treat image : temp/1741772246_1646640_1343350604_f9951cef8ff8e82ff4f1742c2fbe4a4a.jpg resize: (1080, 1632) 1343350604 -5.499834882951555 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.013408660888671875 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.012273073196411133 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018164634704589844 save missing photos in datou_result : time spend for datou_step_exec : 15.546161651611328 time spend to save output : 0.048528194427490234 total time spend for step 1 : 15.594689846038818 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.70user 3.30system 0:20.38elapsed 88%CPU (0avgtext+0avgdata 141904maxresident)k 3376inputs+9928outputs (13major+255598minor)pagefaults 0swaps