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 : 1787283 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 : 2921>100 please execute split_portfolio.py -i 26734743 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3691860'] with mtr_portfolio_ids : ['26734743'] and first list_photo_ids : [] new path : /proc/1787283/ 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.8972041606903076 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 Sep 11 17:57: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/1757606248_1787283_1383282719_ec4c820e6b99d0a489a3599fc688f69f.jpg resize: (1080, 1632) 1383282719 -1.7642351071215094 treat image : temp/1757606248_1787283_1383282716_0e567cece7a12b5980ad86929194218d.jpg resize: (1080, 1632) 1383282716 -5.4287445963885474 treat image : temp/1757606248_1787283_1383282714_b80e9118de824aeb7ca1c22c46ae749f.jpg resize: (1080, 1632) 1383282714 -4.914207625540563 treat image : temp/1757606248_1787283_1383282712_8ad919c8763f0cbb20ad8ba480b65663.jpg resize: (1080, 1632) 1383282712 -5.347029886799325 treat image : temp/1757606248_1787283_1383282706_608116c6cb4c72846c764d22fdc9df73.jpg resize: (1080, 1632) 1383282706 -3.1646579359669924 treat image : temp/1757606248_1787283_1383282704_6b45d9f7cff33b7f676ccbbbcda0b67a.jpg resize: (1080, 1632) 1383282704 -3.1069363652075075 treat image : temp/1757606248_1787283_1383282701_e34736f5c82fed3288b3b8b01b35ffb8.jpg resize: (1080, 1632) 1383282701 -3.987622352614093 treat image : temp/1757606248_1787283_1383282697_a67d0c5499ccd696558d913855c0a6e7.jpg resize: (1080, 1632) 1383282697 -5.5664110999065 treat image : temp/1757606248_1787283_1383282690_278dc78f8aabc543d62f9db12f76a744.jpg resize: (1080, 1632) 1383282690 -5.821029677075861 treat image : temp/1757606248_1787283_1383282687_70784593b76b09ef069d44121436a555.jpg resize: (1080, 1632) 1383282687 -2.6826460819065354 treat image : temp/1757606248_1787283_1383282677_d366b1473f81907087e523f0b6ce7886.jpg resize: (1080, 1632) 1383282677 -0.9101111057694882 treat image : temp/1757606248_1787283_1383282670_e6c62efe8cca1a9675a9a7399751f30b.jpg resize: (1080, 1632) 1383282670 -1.7642351071215094 treat image : temp/1757606248_1787283_1383282668_a6cfb86ee9c30aa54a1bd5ed46797a87.jpg resize: (1080, 1632) 1383282668 -5.4287445963885474 treat image : temp/1757606248_1787283_1383282666_5d52c4c29fc615227ae02b170a2b2e31.jpg resize: (1080, 1632) 1383282666 -4.914207625540563 treat image : temp/1757606248_1787283_1383282663_251c15336e7747e4ba0c96015b5185c4.jpg resize: (1080, 1632) 1383282663 -5.347029886799325 treat image : temp/1757606248_1787283_1383282646_5b8c6f47fbf5bba861bc5e2beea8b6b6.jpg resize: (1080, 1632) 1383282646 -6.0670054597380405 treat image : temp/1757606248_1787283_1383282641_5dea765e88385eed50b08f30883875a6.jpg resize: (1080, 1632) 1383282641 -5.452534927932041 treat image : temp/1757606248_1787283_1383282635_64f987da74937896d35507d372539ced.jpg resize: (1080, 1632) 1383282635 -4.8436198806241535 treat image : temp/1757606248_1787283_1383282633_0d0ea9338472ef7058418a329e501891.jpg resize: (1080, 1632) 1383282633 -2.8345239213012623 treat image : temp/1757606248_1787283_1383282630_031304c7708784b334eb982fd722ec8e.jpg resize: (1080, 1632) 1383282630 -2.8282753181103972 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.017680644989013672 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.016312599182128906 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021459102630615234 save missing photos in datou_result : time spend for datou_step_exec : 16.90883231163025 time spend to save output : 0.06349802017211914 total time spend for step 1 : 16.972330331802368 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.07user 4.83system 0:24.05elapsed 82%CPU (0avgtext+0avgdata 139572maxresident)k 448inputs+9456outputs (21major+260220minor)pagefaults 0swaps