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 : 2610091 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 : 1914>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/2610091/ 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.2757251262664795 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 Mon May 12 15:07: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/1747055249_2610091_1357645788_0c2e9b16b96bc7b4d93d343ca60b3229.jpg resize: (1080, 1632) 1357645788 -4.354453835740711 treat image : temp/1747055249_2610091_1357645783_2ebacf97c19ac0665d8e96451ea699d9.jpg resize: (1080, 1632) 1357645783 -4.426882870142734 treat image : temp/1747055249_2610091_1357645781_ee0ac0f809a10520311c4f787ba0ec1d.jpg resize: (1080, 1632) 1357645781 -5.563603951075544 treat image : temp/1747055249_2610091_1357645778_a995413e216329f12f22c83d329f85c2.jpg resize: (1080, 1632) 1357645778 -3.4507422593000743 treat image : temp/1747055249_2610091_1357645774_f844405d7ea013129b0b5e182fe2fd5f.jpg resize: (1080, 1632) 1357645774 -5.72169660516561 treat image : temp/1747055249_2610091_1357645769_a059c5b124d7457c25693dc5b7a0e505.jpg resize: (1080, 1632) 1357645769 -5.618751799456161 treat image : temp/1747055249_2610091_1357645732_f6d159a21a4217e21cc9ec7f81bdebca.jpg resize: (1080, 1632) 1357645732 -5.570168560959613 treat image : temp/1747055249_2610091_1357645728_14c8796b81434aab5f49ecc6069b7352.jpg resize: (1080, 1632) 1357645728 -4.622819593589458 treat image : temp/1747055249_2610091_1357645725_c0df9bee3a899a218fc53a6780bbf5ef.jpg resize: (1080, 1632) 1357645725 -0.5986416847010467 treat image : temp/1747055249_2610091_1357645721_2e6c5c50a16ed5ad14c3a8164efa3408.jpg resize: (1080, 1632) 1357645721 -2.9081932310821377 treat image : temp/1747055249_2610091_1357645691_a0b266508fe3b21e9d9edfdc240f7245.jpg resize: (1080, 1632) 1357645691 -5.825464827384019 treat image : temp/1747055249_2610091_1357645689_5efff9f77dae40c511de8f5ff0ff154a.jpg resize: (1080, 1632) 1357645689 -4.34362531034033 treat image : temp/1747055249_2610091_1357645684_68ffc1a099114de562c870bf4856f3b9.jpg resize: (1080, 1632) 1357645684 -4.846890620191636 treat image : temp/1747055249_2610091_1357645679_7e7a6f9d0a0802bcbac3b2632500aa96.jpg resize: (1080, 1632) 1357645679 -4.537951164557204 treat image : temp/1747055249_2610091_1357645675_660266faad00d1ab6b6f7081a7b16cce.jpg resize: (1080, 1632) 1357645675 -4.618465966625958 treat image : temp/1747055249_2610091_1357645672_409c675403d9130e230ab2e088d10aac.jpg resize: (1080, 1632) 1357645672 -5.518620675363197 treat image : temp/1747055249_2610091_1357645629_f7a7c1ebb3193ebe324a03eb6dfbdfdd.jpg resize: (1080, 1632) 1357645629 -5.66778363715123 treat image : temp/1747055249_2610091_1357645627_1ecbf72b889f0f144db466ae7b01ba0b.jpg resize: (1080, 1632) 1357645627 -5.8322470116654435 treat image : temp/1747055249_2610091_1357645624_2bced59fbd2ea2ea37e85b339baf8277.jpg resize: (1080, 1632) 1357645624 -5.559627614667953 treat image : temp/1747055249_2610091_1357645301_a80f3211f631acd3afc5a80aee855e4f.jpg resize: (1080, 1632) 1357645301 -5.750089562429704 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.015718698501586914 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.01986217498779297 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02420353889465332 save missing photos in datou_result : time spend for datou_step_exec : 17.40637731552124 time spend to save output : 0.06563711166381836 total time spend for step 1 : 17.47201442718506 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.55user 5.41system 0:24.04elapsed 83%CPU (0avgtext+0avgdata 140064maxresident)k 152inputs+9952outputs (7major+257865minor)pagefaults 0swaps