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 : 368738 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 : 2135>100 please execute split_portfolio.py -i 25934093 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3517460'] with mtr_portfolio_ids : ['25934093'] and first list_photo_ids : [] new path : /proc/368738/ 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.4392502307891846 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 Aug 13 18:32: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/1755102748_368738_1376787681_7e6d2df347ea8506097cd2d7e1cdce95.jpg resize: (1080, 1632) 1376787681 -5.321818016158216 treat image : temp/1755102748_368738_1376787659_cdf736dea827955bee995b7364e407c1.jpg resize: (1080, 1632) 1376787659 -4.133406085953983 treat image : temp/1755102748_368738_1376787590_bdedf7a4478a5c5dfe36b497a5a3698e.jpg resize: (1080, 1632) 1376787590 -5.827538601795092 treat image : temp/1755102748_368738_1376787536_a192cbb04346eabbe4b9c2b7ff63bcce.jpg resize: (1080, 1632) 1376787536 -5.723355120799806 treat image : temp/1755102748_368738_1376787491_55aa71e49c43f15cec305230d4065b69.jpg resize: (1080, 1632) 1376787491 -4.899246633029777 treat image : temp/1755102748_368738_1376787488_4db8226e75ed83eed79a82cce1a6e08f.jpg resize: (1080, 1632) 1376787488 -4.749038495866292 treat image : temp/1755102748_368738_1376787475_4307d35f29262e83732d1b897b82d961.jpg resize: (1080, 1632) 1376787475 -2.036099949385839 treat image : temp/1755102748_368738_1376787432_fd3a63525eaadb213b2a2d517085a258.jpg resize: (1080, 1632) 1376787432 -4.205686468702711 treat image : temp/1755102748_368738_1376787348_b5c8fcf80475b6cd893ab6e2570d2d15.jpg resize: (1080, 1632) 1376787348 -3.202701085258682 treat image : temp/1755102748_368738_1376787288_4ca35444ef20c3aca66975fc3c4c560d.jpg resize: (1080, 1632) 1376787288 -1.156049255597769 treat image : temp/1755102748_368738_1376787225_ff187471eefd190585d7a95e439fa6df.jpg resize: (1080, 1632) 1376787225 -2.3207336641570504 treat image : temp/1755102748_368738_1376787153_bebd5c2040d4900474f6430ddb08f68d.jpg resize: (1080, 1632) 1376787153 -1.6395295940917631 treat image : temp/1755102748_368738_1376787085_1676a98413ed3af8e5d453784d247051.jpg resize: (1080, 1632) 1376787085 -5.200222847401713 treat image : temp/1755102748_368738_1376786902_5460edae388019b03b11274af4ad6400.jpg resize: (1080, 1632) 1376786902 -2.036099949385839 treat image : temp/1755102748_368738_1376786848_334aa7168d7ded335c370d46c4d87921.jpg resize: (1080, 1632) 1376786848 -4.205686468702711 treat image : temp/1755102748_368738_1376786825_3769b2e6275221d76b993ef67a074f7c.jpg resize: (1080, 1632) 1376786825 -6.448490313233114 treat image : temp/1755102748_368738_1376786818_b36140008f88ba3b2339e5fb53bb25f4.jpg resize: (1080, 1632) 1376786818 -6.402591019101851 treat image : temp/1755102748_368738_1376786816_9b366d115bafa92c9bf7e5500e249ff9.jpg resize: (1080, 1632) 1376786816 -6.2691596805473795 treat image : temp/1755102748_368738_1376786815_181f6dba2a6e810ac6b4e098e07989ec.jpg resize: (1080, 1632) 1376786815 -6.464421270939925 treat image : temp/1755102748_368738_1376786753_934dfe4d6045d21b740d04641d78c03c.jpg resize: (1080, 1632) 1376786753 -6.448490313233114 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.012574911117553711 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.011953115463256836 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01493072509765625 save missing photos in datou_result : time spend for datou_step_exec : 12.882236003875732 time spend to save output : 0.044799089431762695 total time spend for step 1 : 12.927035093307495 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.73user 1.62system 0:18.70elapsed 82%CPU (0avgtext+0avgdata 143348maxresident)k 160inputs+9856outputs (0major+123633minor)pagefaults 0swaps