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 : 3547975 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 : 1623>100 please execute split_portfolio.py -i 21370538 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2664544'] with mtr_portfolio_ids : ['21370538'] and first list_photo_ids : [] new path : /proc/3547975/ 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 : 3.026308298110962 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 Mar 13 16:27:32 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/1741879649_3547975_1343734302_c7b6e84456666191d44667424d7ada38.jpg resize: (1080, 1632) 1343734302 -4.610537002997785 treat image : temp/1741879649_3547975_1343734296_48f8e19a2052383f6facd51ea762c492.jpg resize: (1080, 1632) 1343734296 -4.462103269192762 treat image : temp/1741879649_3547975_1343734243_a75042d64b11572b8f23c99fcc99bf41.jpg resize: (1080, 1632) 1343734243 -6.008199170252808 treat image : temp/1741879649_3547975_1343734242_31f2d61fe0ff17b634f1ea62c87bb3f5.jpg resize: (1080, 1632) 1343734242 -5.336845198192621 treat image : temp/1741879649_3547975_1343734238_6474ea86974723407873924bea2c6aa6.jpg resize: (1080, 1632) 1343734238 -6.6159772790315925 treat image : temp/1741879649_3547975_1343734234_47ed7f547434f1218682fc5fc6baa60f.jpg resize: (1080, 1632) 1343734234 -6.641377137175761 treat image : temp/1741879649_3547975_1343734230_5decef6be469f5dd060d6c220d0a9226.jpg resize: (1080, 1632) 1343734230 -3.297999693037175 treat image : temp/1741879649_3547975_1343734194_b333011dad0d1908da411b14bba1e2b1.jpg resize: (1080, 1632) 1343734194 -6.2691408780966045 treat image : temp/1741879649_3547975_1343734191_220a0e7d59f9e8249d8df171bcadd0e0.jpg resize: (1080, 1632) 1343734191 -4.846003628581556 treat image : temp/1741879649_3547975_1343734188_e813434b974c774620b46446d5e97412.jpg resize: (1080, 1632) 1343734188 -6.050024854102801 treat image : temp/1741879649_3547975_1343734184_d643293cd77d448e7e1078b527fafc3b.jpg resize: (1080, 1632) 1343734184 -6.187796984461077 treat image : temp/1741879649_3547975_1343734178_89ca62a51fa966db3836d69796e0f004.jpg resize: (1080, 1632) 1343734178 -6.007274255079051 treat image : temp/1741879649_3547975_1343734172_a41769d96d7aace60deb23a9446f2794.jpg resize: (1080, 1632) 1343734172 -4.974151994621146 treat image : temp/1741879649_3547975_1343734139_e64ea85b3c0326fd896daa64081470a1.jpg resize: (1080, 1632) 1343734139 -2.206095661390399 treat image : temp/1741879649_3547975_1343734137_a711809e9ebe4923b3c977eb652b29b4.jpg resize: (1080, 1632) 1343734137 -4.829903910421935 treat image : temp/1741879649_3547975_1343734134_cc69af62cb7a8467c8257efb151f2948.jpg resize: (1080, 1632) 1343734134 -6.519200180834678 treat image : temp/1741879649_3547975_1343734113_0714a49a1ec82f0797f716a3d00e32a0.jpg resize: (1080, 1632) 1343734113 -3.3740353366318634 treat image : temp/1741879649_3547975_1343734078_07d46be0a392c09ee156c327c25074e0.jpg resize: (1080, 1632) 1343734078 -5.513838880287649 treat image : temp/1741879649_3547975_1343734072_2cadfa98dc25fa77f3c29dd886634151.jpg resize: (1080, 1632) 1343734072 -5.947951812371007 treat image : temp/1741879649_3547975_1343734066_a988466cf141984d488d758709f507e0.jpg resize: (1080, 1632) 1343734066 -5.507691858742737 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.013621330261230469 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.011983871459960938 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0169522762298584 save missing photos in datou_result : time spend for datou_step_exec : 16.76805353164673 time spend to save output : 0.04765129089355469 total time spend for step 1 : 16.815704822540283 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.34user 4.19system 0:23.90elapsed 77%CPU (0avgtext+0avgdata 139688maxresident)k 928inputs+11440outputs (18major+260444minor)pagefaults 0swaps