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 : 318144 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/318144/ 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.534827709197998 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 03:32:29 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/1758072746_318144_1359458200_7e73c0e8e34b9dc2529f73dfc92b60c5.jpg resize: (1080, 1632) 1359458200 -4.976544299376985 treat image : temp/1758072746_318144_1359458176_43809da2e5eb18914e6de45f5bf799b3.jpg resize: (1080, 1632) 1359458176 -5.683328756093422 treat image : temp/1758072746_318144_1359458173_8ca6dc8ee7440dd6310434ef40311edf.jpg resize: (1080, 1632) 1359458173 -3.515452954607276 treat image : temp/1758072746_318144_1359458170_399dd9229178c94b1e1926dd0f275a73.jpg resize: (1080, 1632) 1359458170 -3.9025023809731127 treat image : temp/1758072746_318144_1359458166_aecf080e2ab503d942b389651a80635a.jpg resize: (1080, 1632) 1359458166 -5.719323047916721 treat image : temp/1758072746_318144_1359458163_803df395f3db82daa0b379908a94fc79.jpg resize: (1080, 1632) 1359458163 -4.529686687629045 treat image : temp/1758072746_318144_1359458064_e83c16a0cbe4850254e11778c63ec874.jpg resize: (1080, 1632) 1359458064 -1.6897013777392875 treat image : temp/1758072746_318144_1359458061_267c27673cc5d2e3479e3f35672e5b33.jpg resize: (1080, 1632) 1359458061 -0.5579935394851844 treat image : temp/1758072746_318144_1359458056_644372bc3e458de0f7c52f767a8b53d9.jpg resize: (1080, 1632) 1359458056 -5.850894296284343 treat image : temp/1758072746_318144_1359458050_a60b605e8a8113018360aa217a12576f.jpg resize: (1080, 1632) 1359458050 -6.045267758737513 treat image : temp/1758072746_318144_1359458027_9e9f2bcc55a61cd84d02cd519c9154f2.jpg resize: (1080, 1632) 1359458027 -4.321373112754057 treat image : temp/1758072746_318144_1359457990_427bcdde05727164554254b0bda91b71.jpg resize: (1080, 1632) 1359457990 -5.648591808000827 treat image : temp/1758072746_318144_1359457970_c2527cd120a2791f0ab9f6de8e7b72a2.jpg resize: (1080, 1632) 1359457970 -5.206461470405636 treat image : temp/1758072746_318144_1359457961_e7bc97799e50097df031c727a759ada9.jpg resize: (1080, 1632) 1359457961 -4.134213013112419 treat image : temp/1758072746_318144_1359457898_7f0fa61bc8a0ce52f80bcf0cc763179f.jpg resize: (1080, 1632) 1359457898 -5.543895384352381 treat image : temp/1758072746_318144_1359457570_f00243225f109508c2c47706af5bf442.jpg resize: (1080, 1632) 1359457570 -5.695343207764217 treat image : temp/1758072746_318144_1359457519_d8ec7e239e454500e412a433f4926fac.jpg resize: (1080, 1632) 1359457519 -5.451820373905972 treat image : temp/1758072746_318144_1359457487_26d1fe5637c2b5f8886af12a112871d5.jpg resize: (1080, 1632) 1359457487 -4.642169219498203 treat image : temp/1758072746_318144_1359457417_d002c1bd560e011a30b9bfc17dfe420d.jpg resize: (1080, 1632) 1359457417 -4.846667936716418 treat image : temp/1758072746_318144_1359457379_2267cf8e52026f59c5064344047f8e1c.jpg resize: (1080, 1632) 1359457379 -5.261619446175302 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.013895750045776367 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.016600847244262695 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01594686508178711 save missing photos in datou_result : time spend for datou_step_exec : 15.537027597427368 time spend to save output : 0.05180168151855469 total time spend for step 1 : 15.588829278945923 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.38user 3.62system 0:20.50elapsed 87%CPU (0avgtext+0avgdata 137672maxresident)k 376inputs+10136outputs (3major+258192minor)pagefaults 0swaps