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 : 3567285 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 : 579>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/3567285/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 2.1049177646636963 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 Sep 12 03:02: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/1757638949_3567285_1383314795_dfe5911bfc2b736629f0046385c23011.jpg resize: (1080, 1632) 1383314795 -5.659241855867081 treat image : temp/1757638949_3567285_1383314792_502b180c46aab1e180fb5cfb2acbd553.jpg resize: (1080, 1632) 1383314792 -5.238247703884136 treat image : temp/1757638949_3567285_1383314790_de1027f19388167cfa54490e4c430b72.jpg resize: (1080, 1632) 1383314790 -4.8328142706962325 treat image : temp/1757638949_3567285_1383314747_a7170e5d58c4426aa9de1a801ae84fea.jpg resize: (1080, 1632) 1383314747 -5.591444804200344 treat image : temp/1757638949_3567285_1383314667_60a3c066ab92e766b9a129033f8fc119.jpg resize: (1080, 1632) 1383314667 -4.7730911286509 treat image : temp/1757638949_3567285_1383314564_ccc028ce9711b35bac962573e443eeac.jpg resize: (1080, 1632) 1383314564 -5.326470529112027 treat image : temp/1757638949_3567285_1383314561_de86794d94e1fa3954c13b175b069e1c.jpg resize: (1080, 1632) 1383314561 -4.150826666444067 treat image : temp/1757638949_3567285_1383314557_79f60aa0ac265928398e5bd9e9fae8e7.jpg resize: (1080, 1632) 1383314557 -5.343316402771591 treat image : temp/1757638949_3567285_1383314553_cf79347ae086f528044fd4a3657be843.jpg resize: (1080, 1632) 1383314553 -5.416505433107761 treat image : temp/1757638949_3567285_1383314549_237dfa3d5041435a18d234f8e4ca795d.jpg resize: (1080, 1632) 1383314549 -4.216310777697077 treat image : temp/1757638949_3567285_1383314466_6a31cd814957215ff7f226f35756ac9c.jpg resize: (1080, 1632) 1383314466 -3.603476615592031 treat image : temp/1757638949_3567285_1383314426_62e9f62ef2a024d9b9d2a67d8928423a.jpg resize: (1080, 1632) 1383314426 -5.325077393523703 treat image : temp/1757638949_3567285_1383314423_713857011ad3913173fc2b97dde5242d.jpg resize: (1080, 1632) 1383314423 -5.397067271963415 treat image : temp/1757638949_3567285_1383314344_ab966e8fe5b43af94b43cdfdd70b1273.jpg resize: (1080, 1632) 1383314344 -4.485359959563334 treat image : temp/1757638949_3567285_1383314266_2029657aa8f05bf8376eacce55c1c825.jpg resize: (1080, 1632) 1383314266 -1.4741050680241765 treat image : temp/1757638949_3567285_1383314188_8082b2dbb5b861ffce6d6829427ad433.jpg resize: (1080, 1632) 1383314188 -2.8168438331717534 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 : 16 time used for this insertion : 0.014935731887817383 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 16 time used for this insertion : 0.04133915901184082 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.042051076889038086 save missing photos in datou_result : time spend for datou_step_exec : 12.726738214492798 time spend to save output : 0.10278987884521484 total time spend for step 1 : 12.829528093338013 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 16 set_done_treatment 12.28user 3.02system 0:18.92elapsed 80%CPU (0avgtext+0avgdata 137296maxresident)k 2360inputs+7600outputs (23major+225589minor)pagefaults 0swaps