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 : 2671516 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 : 3076>100 please execute split_portfolio.py -i 22126404 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2730774'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/2671516/ 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 : 13.083208560943604 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 Apr 9 19:42:39 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/1744220546_2671516_1350654518_f2b964c54eeb15f2d867462184352ade.jpg resize: (1080, 1632) 1350654518 -5.789046168999965 treat image : temp/1744220546_2671516_1350654512_13b30d2543f2172a12164e1e9689e39a.jpg resize: (1080, 1632) 1350654512 -5.690988169539265 treat image : temp/1744220546_2671516_1350654485_02c0c45b48dc07e89d48ad431a25c1de.jpg resize: (1080, 1632) 1350654485 -5.3778242773225395 treat image : temp/1744220546_2671516_1350654077_226fe7217849b8d991a066cecf01d502.jpg resize: (1080, 1632) 1350654077 -5.188803260760843 treat image : temp/1744220546_2671516_1350654070_57fd8827f95fba18b03fba407b604fb7.jpg resize: (1080, 1632) 1350654070 -6.325389136027164 treat image : temp/1744220546_2671516_1350654064_1db4df6e7d9cc147f200a6e466fb7e15.jpg resize: (1080, 1632) 1350654064 -5.738238000588017 treat image : temp/1744220546_2671516_1350654061_b7b314e194b3fdc0320186921e6fa89f.jpg resize: (1080, 1632) 1350654061 -5.7407082457429075 treat image : temp/1744220546_2671516_1350654059_040dbbc7b3486d874b4a84420f62978b.jpg resize: (1080, 1632) 1350654059 -5.395787186726044 treat image : temp/1744220546_2671516_1350654027_7f0543e50e87570149ccbdfb04cbf1b0.jpg resize: (1080, 1632) 1350654027 -6.107220762621395 treat image : temp/1744220546_2671516_1350654024_8609cc24d0b7d4cb7a0bc619f1becc41.jpg resize: (1080, 1632) 1350654024 -5.672239409743123 treat image : temp/1744220546_2671516_1350654020_6dd492817a6ee49da6b282de784f7273.jpg resize: (1080, 1632) 1350654020 -5.265710245247127 treat image : temp/1744220546_2671516_1350654015_f8a1fd3fe6186d6a46b7fcbcd729055a.jpg resize: (1080, 1632) 1350654015 -5.622551770418365 treat image : temp/1744220546_2671516_1350653984_9c1bf8422be5e21ad4089b488a48cd44.jpg resize: (1080, 1632) 1350653984 -1.4045384398370422 treat image : temp/1744220546_2671516_1350653979_46fc4e40575c22b1930b696440c8eb3b.jpg resize: (1080, 1632) 1350653979 -2.4983857113861276 treat image : temp/1744220546_2671516_1350653976_b75bf9e3b50863cfc79aa3e5317d3012.jpg resize: (1080, 1632) 1350653976 -3.394360767185888 treat image : temp/1744220546_2671516_1350653970_a0362fb0ef2139a7e32d0eb021d952c1.jpg resize: (1080, 1632) 1350653970 -6.218606577989961 treat image : temp/1744220546_2671516_1350653930_dc81e4775309f97ac97043b31c962a54.jpg resize: (1080, 1632) 1350653930 -5.266986814413649 treat image : temp/1744220546_2671516_1350653927_14de042c1aed6498d74d6a4259a4a94e.jpg resize: (1080, 1632) 1350653927 -4.967612605587758 treat image : temp/1744220546_2671516_1350653923_8970601ea02639812dd476110e4bb95d.jpg resize: (1080, 1632) 1350653923 -5.529176879183988 treat image : temp/1744220546_2671516_1350653917_2a902a6653aeb95e80bc707251d278e9.jpg resize: (1080, 1632) 1350653917 -2.429502480357727 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.014965057373046875 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.015681982040405273 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016777992248535156 save missing photos in datou_result : time spend for datou_step_exec : 15.683733463287354 time spend to save output : 0.05290961265563965 total time spend for step 1 : 15.736643075942993 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.60user 3.54system 0:30.32elapsed 59%CPU (0avgtext+0avgdata 137440maxresident)k 120inputs+10320outputs (1major+254451minor)pagefaults 0swaps