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 : 893788 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 : 2598>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/893788/ 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 : 1.7481739521026611 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 Jul 10 06: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/1752122248_893788_1371479699_40bfe93ef27cd68b772125ecde6f2621.jpg resize: (1080, 1632) 1371479699 -2.024077645807438 treat image : temp/1752122248_893788_1371479698_a19e2203b340bd70dfb61023bead70e5.jpg resize: (1080, 1632) 1371479698 -3.820431793316992 treat image : temp/1752122248_893788_1371479696_ba3a0a3f05afd0763e763a016ef6cd85.jpg resize: (1080, 1632) 1371479696 -5.689197223365447 treat image : temp/1752122248_893788_1371479695_3aba154b55dfb1db88214ca13fafcdba.jpg resize: (1080, 1632) 1371479695 -5.79508858467637 treat image : temp/1752122248_893788_1371479693_099ccb609b7b7d45fcdf011db69af589.jpg resize: (1080, 1632) 1371479693 -5.747669954115939 treat image : temp/1752122248_893788_1371479692_a6514ad6459897b29e6553537482f48a.jpg resize: (1080, 1632) 1371479692 -2.0156691989486046 treat image : temp/1752122248_893788_1371479676_0b380ff6bc54d356c6b382f72d95defd.jpg resize: (1080, 1632) 1371479676 -5.050543290417016 treat image : temp/1752122248_893788_1371479674_95ab56e3cec708ee8a8a7c2437a834d4.jpg resize: (1080, 1632) 1371479674 -4.763223445550359 treat image : temp/1752122248_893788_1371479672_fad416e322ff8830536049094c945e39.jpg resize: (1080, 1632) 1371479672 -3.9704815908854374 treat image : temp/1752122248_893788_1371479671_ab662aed0d7d41c37768b5bd90180747.jpg resize: (1080, 1632) 1371479671 -1.4377279482249103 treat image : temp/1752122248_893788_1371479669_058b595ae08b7ecb02f97f58c9ded1f2.jpg resize: (1080, 1632) 1371479669 -1.936439930370869 treat image : temp/1752122248_893788_1371479667_a359a745c6614e7db3c936554d72b661.jpg resize: (1080, 1632) 1371479667 -3.3955366304448087 treat image : temp/1752122248_893788_1371479555_7471d56fd47cd6d62ad197f0b26485ff.jpg resize: (1080, 1632) 1371479555 -3.550364314936914 treat image : temp/1752122248_893788_1371479554_6bbbc83f7f293fee2dea1bef8fedfe71.jpg resize: (1080, 1632) 1371479554 -5.36007484705501 treat image : temp/1752122248_893788_1371479552_66a1ec0c0526a79376352fd8835cdc58.jpg resize: (1080, 1632) 1371479552 -5.060254606438082 treat image : temp/1752122248_893788_1371479551_fbdc32df62ab8d29181bc85414b43f82.jpg resize: (1080, 1632) 1371479551 -1.4213442768562317 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.01390218734741211 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.12987971305847168 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.3959991931915283 save missing photos in datou_result : time spend for datou_step_exec : 11.335277557373047 time spend to save output : 0.5447497367858887 total time spend for step 1 : 11.880027294158936 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 11.35user 2.22system 0:17.51elapsed 77%CPU (0avgtext+0avgdata 139484maxresident)k 0inputs+6968outputs (0major+218853minor)pagefaults 0swaps