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 : 1536025 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 : 1010>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/1536025/ 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.4881772994995117 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 09: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/1747035146_1536025_1357610921_1ce50503d9507829e9e5f12a656a7d03.jpg resize: (1080, 1632) 1357610921 -2.130190514333133 treat image : temp/1747035146_1536025_1357610919_eeb3923940bb013653ea49a29b1ac03a.jpg resize: (1080, 1632) 1357610919 -3.0790199826589646 treat image : temp/1747035146_1536025_1357610917_142bc340a15e4f5ef4b36e180f5d5fcf.jpg resize: (1080, 1632) 1357610917 -4.708965955604375 treat image : temp/1747035146_1536025_1357599031_bd7a4984269c95584977c9ba0df4c4b9.jpg resize: (1080, 1632) 1357599031 -2.537846599201051 treat image : temp/1747035146_1536025_1357599029_ca658877a976a53e24c105e96b99226e.jpg resize: (1080, 1632) 1357599029 -5.782310524948112 treat image : temp/1747035146_1536025_1357599027_aeed5b8c8c87984a6ea98586bc840fd0.jpg resize: (1080, 1632) 1357599027 -4.976932508099095 treat image : temp/1747035146_1536025_1357598900_43790f69a2d91c173ef0045b337b59bc.jpg resize: (1080, 1632) 1357598900 -2.714128901547441 treat image : temp/1747035146_1536025_1357598897_ccbcb00aa240cbb08ef6781c5adc033b.jpg resize: (1080, 1632) 1357598897 -5.8934478189137325 treat image : temp/1747035146_1536025_1357598721_99e2b19a8253fd8d33102d2983d453e4.jpg resize: (1080, 1632) 1357598721 -6.549557965039265 treat image : temp/1747035146_1536025_1357598720_1fb52672fdea6d850fe5a4d8359933f8.jpg resize: (1080, 1632) 1357598720 -6.34347468035035 treat image : temp/1747035146_1536025_1357598719_d3a8f00f845acf658e7e1277f170c193.jpg resize: (1080, 1632) 1357598719 -6.093055799591016 treat image : temp/1747035146_1536025_1357598718_b8fbe1bbd56a2ca9ed14162579a60ef4.jpg resize: (1080, 1632) 1357598718 -5.298013706410908 treat image : temp/1747035146_1536025_1357598541_9911db0471020c86fd33caf6fa474ff1.jpg resize: (1080, 1632) 1357598541 -5.0922799139574435 treat image : temp/1747035146_1536025_1357598538_f0858db71added80418c350c4e7ada88.jpg resize: (1080, 1632) 1357598538 -6.2585467011721905 treat image : temp/1747035146_1536025_1357598535_e0d73c124c6d3400b5bd258d0653f3c7.jpg resize: (1080, 1632) 1357598535 -6.357871377620907 treat image : temp/1747035146_1536025_1357598420_9974931a377cc0cfd80bcf860fc0ab35.jpg resize: (1080, 1632) 1357598420 -6.235563829715585 treat image : temp/1747035146_1536025_1357598418_d4e199904b131985f1ab2f245f45e9a4.jpg resize: (1080, 1632) 1357598418 -6.552729110130952 treat image : temp/1747035146_1536025_1357598416_7fa8b121967f50cbd7a5f0e0bcbc006a.jpg resize: (1080, 1632) 1357598416 -6.82846762244743 treat image : temp/1747035146_1536025_1357598413_fedb52c9d9155644bca18ba926057977.jpg resize: (1080, 1632) 1357598413 -2.992036572155887 treat image : temp/1747035146_1536025_1357598386_80be81ab0f4f26d395615eaca2c464da.jpg resize: (1080, 1632) 1357598386 -5.5679067659091475 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.01254725456237793 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.014154434204101562 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01733851432800293 save missing photos in datou_result : time spend for datou_step_exec : 15.114391326904297 time spend to save output : 0.049219369888305664 total time spend for step 1 : 15.163610696792603 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.52user 3.12system 0:20.25elapsed 87%CPU (0avgtext+0avgdata 139708maxresident)k 1216inputs+10760outputs (10major+254531minor)pagefaults 0swaps