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 : 784173 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 : 2835>100 please execute split_portfolio.py -i 20528746 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2584364'] with mtr_portfolio_ids : ['20528746'] and first list_photo_ids : [] new path : /proc/784173/ 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.3206663131713867 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 Fri Feb 14 14:32: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/1739539948_784173_1337629018_e56df478c1faa4fcbed52f5822805fc4.jpg resize: (1080, 1632) 1337629018 -6.500147689655153 treat image : temp/1739539948_784173_1337629016_28c290feb945ab9eb7898e2d8bca519f.jpg resize: (1080, 1632) 1337629016 -6.603939998306177 treat image : temp/1739539948_784173_1337629015_b778248dbaaa02677581ded05acc0dd7.jpg resize: (1080, 1632) 1337629015 -6.368465193330668 treat image : temp/1739539948_784173_1337628928_81205f4f861af12bc5f080f02b727a11.jpg resize: (1080, 1632) 1337628928 -6.215050266975536 treat image : temp/1739539948_784173_1337628870_503cc0657f595dd921f21bae52cf2e81.jpg resize: (1080, 1632) 1337628870 -6.364959633956509 treat image : temp/1739539948_784173_1337628852_b2ae6530633ef3d5e2b9f0a35e2a98cf.jpg resize: (1080, 1632) 1337628852 -6.83526733069378 treat image : temp/1739539948_784173_1337628850_49654f6e0f9cbfe5522a761ab82361db.jpg resize: (1080, 1632) 1337628850 -6.92050093583444 treat image : temp/1739539948_784173_1337628847_a21b51e406ea94418852766a8fa93419.jpg resize: (1080, 1632) 1337628847 -6.819730176363495 treat image : temp/1739539948_784173_1337628841_1050f4a93b58b16fad1a145eaac88b8b.jpg resize: (1080, 1632) 1337628841 -6.7705888561646645 treat image : temp/1739539948_784173_1337620875_8aa9d83558b4f6379f77bebcbf60a26a.jpg resize: (1080, 1632) 1337620875 -5.992517911351158 treat image : temp/1739539948_784173_1337620873_40423ae713c05460c306f9231863d146.jpg resize: (1080, 1632) 1337620873 -6.0358155079348395 treat image : temp/1739539948_784173_1337620872_b6ad3a9e1a07a1c39372395509a196d9.jpg resize: (1080, 1632) 1337620872 -5.4837671751815975 treat image : temp/1739539948_784173_1337620838_16895745b98df47370c39a3bfa13aa15.jpg resize: (1080, 1632) 1337620838 -6.192227141185599 treat image : temp/1739539948_784173_1337620836_4c8404c90b96f1769a68e25bfb57a635.jpg resize: (1080, 1632) 1337620836 -3.991983846722926 treat image : temp/1739539948_784173_1337620002_aec6f2dea69bb1a019a4eab0d2e22f7a.jpg resize: (1080, 1632) 1337620002 -2.4702965869497384 treat image : temp/1739539948_784173_1337619921_1efd84c4c64969cea263498bd703d6ed.jpg resize: (1080, 1632) 1337619921 -4.849039328059912 treat image : temp/1739539948_784173_1337619829_323b0b6f851e423c37e3b1a459006928.jpg resize: (1080, 1632) 1337619829 -4.75460226462829 treat image : temp/1739539948_784173_1337619351_e58436912e0f989de4145b81be617ba1.jpg resize: (1080, 1632) 1337619351 -4.705968865178428 treat image : temp/1739539948_784173_1337619346_f41c7501668a8a960547f451a76ebc82.jpg resize: (1080, 1632) 1337619346 -2.3193316622613995 treat image : temp/1739539948_784173_1337619344_543cd2eb0af64cc5ec1f4324beff0b27.jpg resize: (1080, 1632) 1337619344 -3.3437929377306332 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.01384592056274414 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.01296687126159668 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014922380447387695 save missing photos in datou_result : time spend for datou_step_exec : 15.151536703109741 time spend to save output : 0.04684877395629883 total time spend for step 1 : 15.19838547706604 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.03user 2.49system 0:20.90elapsed 83%CPU (0avgtext+0avgdata 140964maxresident)k 152inputs+11688outputs (12major+208345minor)pagefaults 0swaps