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 : 3385882 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 : 5506>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/3385882/ 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.6228370666503906 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 Tue Sep 16 18:27:30 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/1758040046_3385882_1383547042_0e320974de006e30db9f3b8f5f2cfe59.jpg resize: (1080, 1632) 1383547042 -4.757555207730923 treat image : temp/1758040046_3385882_1383547039_b80f00e90286f8ef9d07ab3e63e610b9.jpg resize: (1080, 1632) 1383547039 -5.676024353584308 treat image : temp/1758040046_3385882_1383547037_b7ed43b205c2e745463063fc03cd0661.jpg resize: (1080, 1632) 1383547037 -4.265969747934661 treat image : temp/1758040046_3385882_1383547034_66d166a23b1785f3fc6dfde10e0eea51.jpg resize: (1080, 1632) 1383547034 -4.37358175091834 treat image : temp/1758040046_3385882_1383547031_c796365fe925c25ad0ac62358aadacd7.jpg resize: (1080, 1632) 1383547031 -5.322509429470002 treat image : temp/1758040046_3385882_1383547027_3cbfee8e56633ad6f1c6a6a2e91ec8af.jpg resize: (1080, 1632) 1383547027 -3.4262451808539054 treat image : temp/1758040046_3385882_1383546997_f50d461a4eece1d22401ad56521ee378.jpg resize: (1080, 1632) 1383546997 -1.3791452683011038 treat image : temp/1758040046_3385882_1383546995_0b52ef8f1f2027ce97295540fdf9bba5.jpg resize: (1080, 1632) 1383546995 -3.312936203294516 treat image : temp/1758040046_3385882_1383546994_8d03bffde73b7eb66b20343035349d72.jpg resize: (1080, 1632) 1383546994 -3.4159063273959935 treat image : temp/1758040046_3385882_1383546991_e6912f9af3150c7826027f5cec3d83a4.jpg resize: (1080, 1632) 1383546991 -4.449373935161074 treat image : temp/1758040046_3385882_1383546990_e7d8333530853632c764cef7d39b9ef4.jpg resize: (1080, 1632) 1383546990 -5.900649259700494 treat image : temp/1758040046_3385882_1383546989_e02f8d2ace0728890b37da64d97917d5.jpg resize: (1080, 1632) 1383546989 -6.001870792198058 treat image : temp/1758040046_3385882_1383546969_c6f31ae285a0f5f99515d6c44cafb190.jpg resize: (1080, 1632) 1383546969 -5.676024353584308 treat image : temp/1758040046_3385882_1383546966_0b568564dd9bdfb4b0e77c2a7130196f.jpg resize: (1080, 1632) 1383546966 -4.265969747934661 treat image : temp/1758040046_3385882_1383546964_df39b446395ae541e1fc71aa9b2f5158.jpg resize: (1080, 1632) 1383546964 -4.37358175091834 treat image : temp/1758040046_3385882_1383546962_a4810be40602808569920f07aaef891d.jpg resize: (1080, 1632) 1383546962 -5.322509429470002 treat image : temp/1758040046_3385882_1383546960_5accb9f3d6d74c5bbad1b113f0c78579.jpg resize: (1080, 1632) 1383546960 -3.4262451808539054 treat image : temp/1758040046_3385882_1383546932_9125477cd2e183601357daf27945a404.jpg resize: (1080, 1632) 1383546932 -5.01902945090282 treat image : temp/1758040046_3385882_1383546930_4acac2c5a9c38d3ba7d85ff590da134f.jpg resize: (1080, 1632) 1383546930 -5.6630752055127385 treat image : temp/1758040046_3385882_1383546927_5fcc8e1ec1040979679451383fb676fb.jpg resize: (1080, 1632) 1383546927 -3.933975012197622 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.014431476593017578 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.014101028442382812 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015969514846801758 save missing photos in datou_result : time spend for datou_step_exec : 15.747445821762085 time spend to save output : 0.049634456634521484 total time spend for step 1 : 15.797080278396606 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.18user 4.35system 0:21.30elapsed 87%CPU (0avgtext+0avgdata 139380maxresident)k 216inputs+9272outputs (4major+260351minor)pagefaults 0swaps