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 : 165802 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 : 7835>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/165802/ 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.2865183353424072 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 Jul 11 20:17: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/1752257847_165802_1371656898_2ae431a9082a366c9df4143380498d5f.jpg resize: (1080, 1632) 1371656898 -2.8913138169037107 treat image : temp/1752257847_165802_1371656894_cb1f7dea3e0d1e4e205f4c1d1c77b44c.jpg resize: (1080, 1632) 1371656894 -2.3109318812187563 treat image : temp/1752257847_165802_1371656891_f4c9b1c684aa6dee9402f3327e3ad612.jpg resize: (1080, 1632) 1371656891 -3.102508384170469 treat image : temp/1752257847_165802_1371656887_55949e79894ecb6603fb726370712362.jpg resize: (1080, 1632) 1371656887 -5.10681326660594 treat image : temp/1752257847_165802_1371656882_edd09e706c5bbcaa3e3c58b08943e4cc.jpg resize: (1080, 1632) 1371656882 -4.688203295171404 treat image : temp/1752257847_165802_1371656876_7e6e530a5afcb121ddcdf7564a6aaf95.jpg resize: (1080, 1632) 1371656876 -5.724635115458894 treat image : temp/1752257847_165802_1371656860_1dfac5c4407dc172a6447ebc076eb939.jpg resize: (1080, 1632) 1371656860 -5.112811625042582 treat image : temp/1752257847_165802_1371656854_6e8bae8706b44e45e9e7d17ad28dc2b8.jpg resize: (1080, 1632) 1371656854 -5.114058432941933 treat image : temp/1752257847_165802_1371656849_3ef203d7b1c4513d3dd357e7acf721f6.jpg resize: (1080, 1632) 1371656849 -5.107693471420017 treat image : temp/1752257847_165802_1371656844_860105a1a733444a676e87856cb3d4a7.jpg resize: (1080, 1632) 1371656844 -5.122603249952534 treat image : temp/1752257847_165802_1371656839_52889e4042eb03d833dbc44c92c22623.jpg resize: (1080, 1632) 1371656839 -5.123886269840518 treat image : temp/1752257847_165802_1371656836_a91308024bc4979a3872a3fd76af67f0.jpg resize: (1080, 1632) 1371656836 -5.117729714946267 treat image : temp/1752257847_165802_1371656823_3951a9e0a750a87f89f9229ab4992529.jpg resize: (1080, 1632) 1371656823 -5.47481886050783 treat image : temp/1752257847_165802_1371656816_2a0bee266008f1aa00f85b72ad8e70f7.jpg resize: (1080, 1632) 1371656816 -5.328259156157916 treat image : temp/1752257847_165802_1371656811_2733bcc1a97a0fca0c474352b5a59a68.jpg resize: (1080, 1632) 1371656811 -5.296301704440991 treat image : temp/1752257847_165802_1371656807_746ee3ff5a07c8d562ccc83c1c6fda0e.jpg resize: (1080, 1632) 1371656807 -5.4438184003793175 treat image : temp/1752257847_165802_1371656802_6c5f695bf411974942db0f1047dff7d8.jpg resize: (1080, 1632) 1371656802 -4.9386903419163 treat image : temp/1752257847_165802_1371656798_c0f7ca1425e28490d705e1e571bdce3f.jpg resize: (1080, 1632) 1371656798 -1.909585162751937 treat image : temp/1752257847_165802_1371655723_9ed83e12480e6c86e5cf4dfa7dcdc721.jpg resize: (1080, 1632) 1371655723 -5.083783485246931 treat image : temp/1752257847_165802_1371655716_136a818578f252acf7e1dd916415ccc6.jpg resize: (1080, 1632) 1371655716 -5.083783485246931 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.012815713882446289 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.011878252029418945 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014801740646362305 save missing photos in datou_result : time spend for datou_step_exec : 15.541741132736206 time spend to save output : 0.044300079345703125 total time spend for step 1 : 15.58604121208191 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.23user 4.00system 0:19.29elapsed 94%CPU (0avgtext+0avgdata 139080maxresident)k 0inputs+9376outputs (3major+254477minor)pagefaults 0swaps