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 : 4124032 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 : 552>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/4124032/ 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.3063251972198486 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 Sat Mar 22 07:22: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/1742624547_4124032_1346348766_36d93011283ed68e9efbe0607255d1c2.jpg resize: (1080, 1632) 1346348766 -3.831860533097602 treat image : temp/1742624547_4124032_1346348763_d8d8e63bc4167fdfe03855fb4bf6a792.jpg resize: (1080, 1632) 1346348763 -4.994650094694804 treat image : temp/1742624547_4124032_1346348759_e738d328284fcf97f4abfedcb7439d59.jpg resize: (1080, 1632) 1346348759 -4.920566465327152 treat image : temp/1742624547_4124032_1346348755_f2429b38811090d8448b53a88778ef9c.jpg resize: (1080, 1632) 1346348755 -6.441504612574818 treat image : temp/1742624547_4124032_1346348753_33910db684bcc26f5a31e32c4e8738ad.jpg resize: (1080, 1632) 1346348753 -5.7799846375703465 treat image : temp/1742624547_4124032_1346348751_6bdfcd62ccccf1f6853934688d06adfb.jpg resize: (1080, 1632) 1346348751 -5.203258749361079 treat image : temp/1742624547_4124032_1346348737_ac831a6304bec0867c630f6191c751f4.jpg resize: (1080, 1632) 1346348737 -6.0825076199832715 treat image : temp/1742624547_4124032_1346348733_80525dcd06746677a7597ec1f6fe6446.jpg resize: (1080, 1632) 1346348733 -5.209260419017767 treat image : temp/1742624547_4124032_1346348729_f1eda1ab8d2273d7cc17f9599ce54950.jpg resize: (1080, 1632) 1346348729 -5.278287483847466 treat image : temp/1742624547_4124032_1346348724_61dd6e8a589af3838fbc39769dab219f.jpg resize: (1080, 1632) 1346348724 -5.2940851136255755 treat image : temp/1742624547_4124032_1346348719_60eae4a50192b4dde08b8e31bd2712f4.jpg resize: (1080, 1632) 1346348719 -6.058911959814224 treat image : temp/1742624547_4124032_1346348714_8f77b88cb422aea1722f889b25fe9536.jpg resize: (1080, 1632) 1346348714 -6.144837267830805 treat image : temp/1742624547_4124032_1346348452_bdd34638c2d13712ac3593d119e4fe4b.jpg resize: (1080, 1632) 1346348452 -3.5325909022404787 treat image : temp/1742624547_4124032_1346348445_00da7ae061068fab5359e9051d990882.jpg resize: (1080, 1632) 1346348445 -3.5325909022404787 treat image : temp/1742624547_4124032_1346348440_1fd988f45c5da33af1e4577804dba114.jpg resize: (1080, 1632) 1346348440 -4.101615987234593 treat image : temp/1742624547_4124032_1346348436_9abf900cb55cd6386f204d1d5ea4bd60.jpg resize: (1080, 1632) 1346348436 -4.101615987234593 treat image : temp/1742624547_4124032_1346348364_f4212d315a581367d0da920ba8dd9738.jpg resize: (1080, 1632) 1346348364 -4.799046701328783 treat image : temp/1742624547_4124032_1346348346_12ca6d12fa386478c12a4806b1f570e0.jpg resize: (1080, 1632) 1346348346 -5.451859613137923 treat image : temp/1742624547_4124032_1346348324_0292754c4693d4716499bfd2bb0742ba.jpg resize: (1080, 1632) 1346348324 -5.231310412522205 treat image : temp/1742624547_4124032_1346348308_3e84904c8b66207dbcec8b5ab48e0269.jpg resize: (1080, 1632) 1346348308 -0.1000579886074364 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.016383647918701172 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.014041662216186523 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015866756439208984 save missing photos in datou_result : time spend for datou_step_exec : 14.439706802368164 time spend to save output : 0.05156707763671875 total time spend for step 1 : 14.491273880004883 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.47user 3.25system 0:19.32elapsed 86%CPU (0avgtext+0avgdata 137900maxresident)k 144inputs+10208outputs (2major+258945minor)pagefaults 0swaps