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 : 3893174 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 : 3372>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/3893174/ 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.392202615737915 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 Sat Mar 22 06:02:33 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/1742619750_3893174_1346340958_75db9c949c5737053b53b7a1ebb1ecfa.jpg resize: (1080, 1632) 1346340958 -6.384522072322267 treat image : temp/1742619750_3893174_1346340932_77da788336fd2ec6a18839f4ef923cd8.jpg resize: (1080, 1632) 1346340932 -5.966762787234928 treat image : temp/1742619750_3893174_1346340909_4607d78cbbed9fb74bacbd9320b7ea5a.jpg resize: (1080, 1632) 1346340909 -2.8246320586274756 treat image : temp/1742619750_3893174_1346340901_248792ed2b1bd86e8405f6555d25a90d.jpg resize: (1080, 1632) 1346340901 -2.1462706156451774 treat image : temp/1742619750_3893174_1346340874_cbe6c506f9d05506e37a83f7f149a0fb.jpg resize: (1080, 1632) 1346340874 -3.789999666875946 treat image : temp/1742619750_3893174_1346340848_a4ea6d109226ac8d62e0fd4a1de2c54f.jpg resize: (1080, 1632) 1346340848 -6.074930062968169 treat image : temp/1742619750_3893174_1346340779_65fa98965affdd606263334f52826a34.jpg resize: (1080, 1632) 1346340779 -4.812863116260982 treat image : temp/1742619750_3893174_1346340755_008f2680cdc7bc7646da0af4b0188696.jpg resize: (1080, 1632) 1346340755 -6.606253575807765 treat image : temp/1742619750_3893174_1346340740_ee47255dda708066df33ab34255e96ed.jpg resize: (1080, 1632) 1346340740 -6.6624993562585955 treat image : temp/1742619750_3893174_1346340720_a18c7e9d472776c3f25e61d8ea1cd8ff.jpg resize: (1080, 1632) 1346340720 -6.069862629656069 treat image : temp/1742619750_3893174_1346340696_51265fb42e1782df55a9c6b129656d1e.jpg resize: (1080, 1632) 1346340696 -6.3822421851159055 treat image : temp/1742619750_3893174_1346340659_e2b57c377443d94e04af322afdc34ba2.jpg resize: (1080, 1632) 1346340659 -5.747671216335788 treat image : temp/1742619750_3893174_1346340366_e85d202c868ebcd363386fb24c9d5991.jpg resize: (1080, 1632) 1346340366 -4.099862197361249 treat image : temp/1742619750_3893174_1346340361_69e52d86e293701a150fdb2721b44778.jpg resize: (1080, 1632) 1346340361 -6.377862204003795 treat image : temp/1742619750_3893174_1346340354_a36e8f06d02673f4ebf1db1845616877.jpg resize: (1080, 1632) 1346340354 -6.780008194318265 treat image : temp/1742619750_3893174_1346340350_0c48d62430923825a3be3d24ba51132e.jpg resize: (1080, 1632) 1346340350 -6.606855263959763 treat image : temp/1742619750_3893174_1346340349_17cf59bc01535035018598c1c54e8a77.jpg resize: (1080, 1632) 1346340349 -6.330616847089292 treat image : temp/1742619750_3893174_1346340348_561d0c823aad5e6b71319ed86d24fd89.jpg resize: (1080, 1632) 1346340348 -3.7402220484815434 treat image : temp/1742619750_3893174_1346340286_6c6cf22d300479d748d2aa75f3654770.jpg resize: (1080, 1632) 1346340286 -5.767796103793234 treat image : temp/1742619750_3893174_1346340283_305252d5de9c7e81750af4b92a80535f.jpg resize: (1080, 1632) 1346340283 -5.767796103793234 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.013632535934448242 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.02495098114013672 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015729188919067383 save missing photos in datou_result : time spend for datou_step_exec : 14.907959699630737 time spend to save output : 0.05939674377441406 total time spend for step 1 : 14.967356443405151 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.08user 3.12system 0:21.64elapsed 79%CPU (0avgtext+0avgdata 139660maxresident)k 4384inputs+11760outputs (23major+259825minor)pagefaults 0swaps