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 : 431922 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 : 1985>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/431922/ 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.627061128616333 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 Wed Sep 17 04:37:32 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/1758076649_431922_1359390030_c05348300b97a9124c92b282ed5bed5e.jpg resize: (1080, 1632) 1359390030 -2.0334286379513915 treat image : temp/1758076649_431922_1359390023_a7e00873f6c638d39fa9b28f8d0803e5.jpg resize: (1080, 1632) 1359390023 -2.424695139028135 treat image : temp/1758076649_431922_1359390018_22bc577cc064c52783140598901675cc.jpg resize: (1080, 1632) 1359390018 -2.9697023727574345 treat image : temp/1758076649_431922_1359390010_06f61b82a4248d2c80493597cd5111d9.jpg resize: (1080, 1632) 1359390010 -5.184271492588013 treat image : temp/1758076649_431922_1359389973_c0a81445f296709b6c98c50542ad390c.jpg resize: (1080, 1632) 1359389973 -5.607378024140244 treat image : temp/1758076649_431922_1359389969_a8dd013acadc6fba11929b8476b47f44.jpg resize: (1080, 1632) 1359389969 -6.2302259604055905 treat image : temp/1758076649_431922_1359389964_c0ecc859c3bd0a2968de6946586095c3.jpg resize: (1080, 1632) 1359389964 -3.8563849139868602 treat image : temp/1758076649_431922_1359389959_5a098c92b2bc3f3a9ab77b5e32902623.jpg resize: (1080, 1632) 1359389959 -0.7416602598137183 treat image : temp/1758076649_431922_1359389921_1ff855a5d3d089d564ae812a49020d87.jpg resize: (1080, 1632) 1359389921 -4.96051156409723 treat image : temp/1758076649_431922_1359389917_fc89aa0ca243a98d8b257c5eb8bbaaa2.jpg resize: (1080, 1632) 1359389917 -6.01253210716847 treat image : temp/1758076649_431922_1359389913_8cb711e7ce70c950a5e02376276a91eb.jpg resize: (1080, 1632) 1359389913 -6.34733330280045 treat image : temp/1758076649_431922_1359389908_a67350d143eb4a1c4b3ca65a7e2cc21a.jpg resize: (1080, 1632) 1359389908 -5.92834289178722 treat image : temp/1758076649_431922_1359389897_9e89ddd662905dfb7c3e95649671ac63.jpg resize: (1080, 1632) 1359389897 -5.913168463017534 treat image : temp/1758076649_431922_1359389779_df914e5a2b3f12fd5d7ec63c6f90f103.jpg resize: (1080, 1632) 1359389779 -4.836507013281677 treat image : temp/1758076649_431922_1359389776_0b4ab8087c832c677be7adcd6325f0f3.jpg resize: (1080, 1632) 1359389776 -5.418251394511627 treat image : temp/1758076649_431922_1359389772_9e87f969678d5fe162d0bafd9ea450f8.jpg resize: (1080, 1632) 1359389772 -5.4627048789659405 treat image : temp/1758076649_431922_1359389767_f66b1e6989e9290acfb5ae40c95b1dbc.jpg resize: (1080, 1632) 1359389767 -5.541584905686588 treat image : temp/1758076649_431922_1359389764_0b9c9494c05553250f40303adb967ed8.jpg resize: (1080, 1632) 1359389764 -5.804974257873014 treat image : temp/1758076649_431922_1359389671_794e64d0fb28cea99d17cb137c3c5b36.jpg resize: (1080, 1632) 1359389671 -5.929508691526477 treat image : temp/1758076649_431922_1359389667_b236db7a718db390a419ac7349e6dfd9.jpg resize: (1080, 1632) 1359389667 -4.134028948189932 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.01599907875061035 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.13366198539733887 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01798391342163086 save missing photos in datou_result : time spend for datou_step_exec : 14.852410078048706 time spend to save output : 0.17259764671325684 total time spend for step 1 : 15.025007724761963 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.55user 3.91system 0:22.85elapsed 76%CPU (0avgtext+0avgdata 137104maxresident)k 144inputs+9976outputs (2major+255142minor)pagefaults 0swaps