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 : 3215924 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 : 2490>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/3215924/ 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.1352531909942627 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 17:07:28 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/1747062446_3215924_1357674437_837886d583773f123c53059e8176d84d.jpg resize: (1080, 1632) 1357674437 -6.4177141284003385 treat image : temp/1747062446_3215924_1357674433_ce379a4b99afc79cc9d3a32e044aaa75.jpg resize: (1080, 1632) 1357674433 -5.173619061708099 treat image : temp/1747062446_3215924_1357674430_90f080a4b158bc75ce6f593da78761d7.jpg resize: (1080, 1632) 1357674430 -6.005557507745392 treat image : temp/1747062446_3215924_1357674405_5dbecd06919bc9797f95522311a26e18.jpg resize: (1080, 1632) 1357674405 -5.407775214172003 treat image : temp/1747062446_3215924_1357674402_f3d6ad58e049743413a51c03690bf42a.jpg resize: (1080, 1632) 1357674402 -1.481129667060212 treat image : temp/1747062446_3215924_1357674398_265b8e562a227f2af03ca8528ed2484a.jpg resize: (1080, 1632) 1357674398 -1.6682612130233938 treat image : temp/1747062446_3215924_1357674395_0361d4b0c4547a63bec682b15cb7843a.jpg resize: (1080, 1632) 1357674395 -4.468510115952284 treat image : temp/1747062446_3215924_1357674391_474d1b1d07fc7c4c758000fd54bbb4e4.jpg resize: (1080, 1632) 1357674391 -4.119655870238157 treat image : temp/1747062446_3215924_1357674357_313948cbb55f590b3be1145f439fb4da.jpg resize: (1080, 1632) 1357674357 -3.1564652834953866 treat image : temp/1747062446_3215924_1357674347_f1cfff0cc974b6c94fb17b00ec6b1a79.jpg resize: (1080, 1632) 1357674347 -6.445079668084548 treat image : temp/1747062446_3215924_1357674335_24247fbadca8dee0835153adef84ebca.jpg resize: (1080, 1632) 1357674335 -6.162868154577026 treat image : temp/1747062446_3215924_1357674332_9fbc446622d69f76761ed9ccb3443632.jpg resize: (1080, 1632) 1357674332 -6.195021113807157 treat image : temp/1747062446_3215924_1357674325_964db6d5825ab87605bd7b2a71136bc7.jpg resize: (1080, 1632) 1357674325 -5.539438334501519 treat image : temp/1747062446_3215924_1357674296_e8854cf838c23e61f66fbf27aed31614.jpg resize: (1080, 1632) 1357674296 -5.667226330534675 treat image : temp/1747062446_3215924_1357674053_6ebf02660c9bd0a7487339690125c112.jpg resize: (1080, 1632) 1357674053 -6.1723344348724645 treat image : temp/1747062446_3215924_1357674020_941ddd0e67517f5ba0f15d75056490b6.jpg resize: (1080, 1632) 1357674020 -3.265820566025458 treat image : temp/1747062446_3215924_1357674010_aacdc16cdad759c7ce15dca62ad199be.jpg resize: (1080, 1632) 1357674010 -3.1759408921939145 treat image : temp/1747062446_3215924_1357674005_f6eae3ef677ddbcdb922012844929c47.jpg resize: (1080, 1632) 1357674005 -0.9386335179022104 treat image : temp/1747062446_3215924_1357673991_e08795715cefb9b315efe89b3a6ec852.jpg resize: (1080, 1632) 1357673991 -3.4908018150805447 treat image : temp/1747062446_3215924_1357672506_5c0740f17f27d4bc079ebdc34d3232ff.jpg resize: (1080, 1632) 1357672506 -2.338018790394287 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.013699769973754883 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.012888431549072266 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015805482864379883 save missing photos in datou_result : time spend for datou_step_exec : 18.048094034194946 time spend to save output : 0.04738736152648926 total time spend for step 1 : 18.095481395721436 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.05user 5.82system 0:22.34elapsed 93%CPU (0avgtext+0avgdata 140460maxresident)k 3424inputs+10208outputs (18major+263960minor)pagefaults 0swaps