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 : 3788704 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 : 3546>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3788704/ 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.4895882606506348 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 Jul 9 19:12: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/1752081147_3788704_1371428423_b668acf92089d21665f634e5ac3b7066.jpg resize: (1080, 1632) 1371428423 -5.499020556395537 treat image : temp/1752081147_3788704_1371428421_4977ab23aa06a60869fbfa7a59003728.jpg resize: (1080, 1632) 1371428421 -5.587920479567589 treat image : temp/1752081147_3788704_1371428419_fd12892a6ffefecc2c9ca573107582ce.jpg resize: (1080, 1632) 1371428419 -5.841056238010361 treat image : temp/1752081147_3788704_1371428417_2827498ebf83e05316b0eb7f6918be0a.jpg resize: (1080, 1632) 1371428417 -5.589451569525134 treat image : temp/1752081147_3788704_1371428416_bbfbf356122b016845a9f21c0055db6c.jpg resize: (1080, 1632) 1371428416 -4.72562908852149 treat image : temp/1752081147_3788704_1371428415_6c2391fc84fb7e65080101566aaee4ec.jpg resize: (1080, 1632) 1371428415 -4.8553260957573485 treat image : temp/1752081147_3788704_1371428414_9763b3f93439fa71ce7b46f396e32dd8.jpg resize: (1080, 1632) 1371428414 -4.857060894070736 treat image : temp/1752081147_3788704_1371428413_001fc07f5472eee481e50927fb43805d.jpg resize: (1080, 1632) 1371428413 -5.45795169983894 treat image : temp/1752081147_3788704_1371428412_e7e5a98325815e12d30a56e2d18324ff.jpg resize: (1080, 1632) 1371428412 -5.451039719062266 treat image : temp/1752081147_3788704_1371428411_1c308ea3691fdb6bb04dc7cf69f5a2a1.jpg resize: (1080, 1632) 1371428411 -6.434351821361368 treat image : temp/1752081147_3788704_1371428407_a8bd41accd35ee284bfe3afa40348969.jpg resize: (1080, 1632) 1371428407 -2.4431877522329666 treat image : temp/1752081147_3788704_1371428405_cf5844f5ee39342703436573a907547f.jpg resize: (1080, 1632) 1371428405 -2.211967198046986 treat image : temp/1752081147_3788704_1371428403_e2940038c1bf6de697a58b7df374cf2f.jpg resize: (1080, 1632) 1371428403 -4.238675069533738 treat image : temp/1752081147_3788704_1371428401_9f6226826a55c89e59316970784e4781.jpg resize: (1080, 1632) 1371428401 -3.9027146127406014 treat image : temp/1752081147_3788704_1371428399_ba451e347fd5fcd3618c699849200328.jpg resize: (1080, 1632) 1371428399 -5.130363851173425 treat image : temp/1752081147_3788704_1371428398_6c91873d6a3854c0463291d4268ff678.jpg resize: (1080, 1632) 1371428398 -5.01143314645389 treat image : temp/1752081147_3788704_1371427779_6338c66103182223f69b0972c6ae8abc.jpg resize: (1080, 1632) 1371427779 -2.4222048766831894 treat image : temp/1752081147_3788704_1371427778_83d777055f6a1d5f8660cb45a0cd4971.jpg resize: (1080, 1632) 1371427778 -2.4105388093767792 treat image : temp/1752081147_3788704_1371427776_d54e90696fecb2336affc1b50761127c.jpg resize: (1080, 1632) 1371427776 -2.3941573779209384 treat image : temp/1752081147_3788704_1371427775_877f9cc22df58eadadbd2d5b4e580e40.jpg resize: (1080, 1632) 1371427775 -2.373443359099189 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.01349949836730957 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.012026309967041016 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013999223709106445 save missing photos in datou_result : time spend for datou_step_exec : 13.670141220092773 time spend to save output : 0.04412674903869629 total time spend for step 1 : 13.71426796913147 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.87user 1.55system 0:18.74elapsed 87%CPU (0avgtext+0avgdata 139384maxresident)k 96inputs+9448outputs (11major+117281minor)pagefaults 0swaps