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 : 1780647 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 : 1652>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/1780647/ 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.189420700073242 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 Tue May 13 08:22:30 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/1747117348_1780647_1357778665_efacabe5dc59efbbdc0c0062a990103f.jpg resize: (1080, 1632) 1357778665 -5.770259336797526 treat image : temp/1747117348_1780647_1357778663_bcb889fbedafad3ce17a70e32b9d6a08.jpg resize: (1080, 1632) 1357778663 -6.2738430931963025 treat image : temp/1747117348_1780647_1357778660_0fec20a7037dd99b00f737763012beb5.jpg resize: (1080, 1632) 1357778660 -1.8066789112133388 treat image : temp/1747117348_1780647_1357778627_e6584380d25db44316376869e533c5b5.jpg resize: (1080, 1632) 1357778627 -5.392935155857479 treat image : temp/1747117348_1780647_1357778624_88511bccd2fd4658d367449fcc275d8e.jpg resize: (1080, 1632) 1357778624 -5.557588600444327 treat image : temp/1747117348_1780647_1357778620_b52eba3519bb7605ec779dc15d10d071.jpg resize: (1080, 1632) 1357778620 -5.669024848859495 treat image : temp/1747117348_1780647_1357778618_2eaabef9923ac66c3cdc8e1ddd7a56f1.jpg resize: (1080, 1632) 1357778618 -5.473869603090968 treat image : temp/1747117348_1780647_1357778582_df5529fb0562e9c770426553c273ca2c.jpg resize: (1080, 1632) 1357778582 -5.976651266089848 treat image : temp/1747117348_1780647_1357778580_613af42b663e7ccd37864e52f6a002ed.jpg resize: (1080, 1632) 1357778580 -4.614398194747212 treat image : temp/1747117348_1780647_1357778577_1f9af71bdebcaa979e148a84b905adfe.jpg resize: (1080, 1632) 1357778577 -5.225539072937784 treat image : temp/1747117348_1780647_1357778575_37f4eec2f0d85167980d64c12d57e8fe.jpg resize: (1080, 1632) 1357778575 -3.555809617780255 treat image : temp/1747117348_1780647_1357778540_60ec651428181dfb382731d3e8b05299.jpg resize: (1080, 1632) 1357778540 -2.694673318996605 treat image : temp/1747117348_1780647_1357778537_246e7d22bc9a92bb0f13c75b06912520.jpg resize: (1080, 1632) 1357778537 -0.5892440375846003 treat image : temp/1747117348_1780647_1357778534_97e465e0a9f3f61291f542c29b8ff3cc.jpg resize: (1080, 1632) 1357778534 -4.9188284769127595 treat image : temp/1747117348_1780647_1357778532_e6ae219d5c7e781b5fac198faf264d10.jpg resize: (1080, 1632) 1357778532 -5.602820568277532 treat image : temp/1747117348_1780647_1357778527_65c8d080c8498cf5c21bc0e4a573f475.jpg resize: (1080, 1632) 1357778527 -5.660397732622243 treat image : temp/1747117348_1780647_1357778388_3dc5f31a88aa2f57736e92e0452dcc9d.jpg resize: (1080, 1632) 1357778388 -2.754301815753226 treat image : temp/1747117348_1780647_1357778384_35a9f5744a353d458603131665e86179.jpg resize: (1080, 1632) 1357778384 -0.44687212189749653 treat image : temp/1747117348_1780647_1357778380_c21e12d6bd5f25ad340533cdb0c1c6e3.jpg resize: (1080, 1632) 1357778380 -1.916882539069896 treat image : temp/1747117348_1780647_1357777873_059abfee81c8aa1e5ce2df33359b198e.jpg resize: (1080, 1632) 1357777873 -6.119398376096218 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.013461828231811523 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.2719762325286865 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.13994216918945312 save missing photos in datou_result : time spend for datou_step_exec : 17.50370478630066 time spend to save output : 0.4769754409790039 total time spend for step 1 : 17.980680227279663 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.76user 5.29system 0:23.72elapsed 84%CPU (0avgtext+0avgdata 138720maxresident)k 17368inputs+9320outputs (96major+260544minor)pagefaults 0swaps