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 : 961116 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/961116/ 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 : 3.035337448120117 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 Thu Jul 17 18:12:33 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/1752768750_961116_1372335995_a408eac6035d6a62d97c29cac80b9d1b.jpg resize: (1080, 1632) 1372335995 -5.220934967874869 treat image : temp/1752768750_961116_1372335993_d5dd0ffbdf250044bf2a3328c32d93c2.jpg resize: (1080, 1632) 1372335993 -5.2289208041159485 treat image : temp/1752768750_961116_1372335991_067be10e012d81b20fa8dad7e39ad20a.jpg resize: (1080, 1632) 1372335991 -5.281127070856259 treat image : temp/1752768750_961116_1372335977_3d728283e85708e042c99b5a4dbdc38d.jpg resize: (1080, 1632) 1372335977 -4.692856322244149 treat image : temp/1752768750_961116_1372335975_179d9da160cc203fbb8e21d3600385d2.jpg resize: (1080, 1632) 1372335975 -4.689546709310369 treat image : temp/1752768750_961116_1372335972_c617eddca827f498a1af03256948b0db.jpg resize: (1080, 1632) 1372335972 -4.677910344638121 treat image : temp/1752768750_961116_1372335970_5a4d5f34fed629eaee06bfce824a5f7f.jpg resize: (1080, 1632) 1372335970 -4.6797985619036115 treat image : temp/1752768750_961116_1372335968_9029a28813a78b94d0611b3987d65666.jpg resize: (1080, 1632) 1372335968 -5.225967181203922 treat image : temp/1752768750_961116_1372335965_5aec5d91339c2948859c320207ddc490.jpg resize: (1080, 1632) 1372335965 -5.222546080618914 treat image : temp/1752768750_961116_1372335928_c3c378f0f8db56dd9c5b5ecedc57c4c3.jpg resize: (1080, 1632) 1372335928 -4.681259032966236 treat image : temp/1752768750_961116_1372335894_b9f579ff5c67819b6adbcc15dc3841dd.jpg resize: (1080, 1632) 1372335894 -4.492705905742287 treat image : temp/1752768750_961116_1372335872_2b723c3245037d451394465303cde28f.jpg resize: (1080, 1632) 1372335872 -4.243412647399637 treat image : temp/1752768750_961116_1372335869_c304e0f0390042beacdb0bedc20dbed2.jpg resize: (1080, 1632) 1372335869 -4.249731875384522 treat image : temp/1752768750_961116_1372335866_a04e0a753925364c06b3d73626f979c4.jpg resize: (1080, 1632) 1372335866 -4.245732720096588 treat image : temp/1752768750_961116_1372335863_2968b189908d9086c102982c610015a5.jpg resize: (1080, 1632) 1372335863 -4.509002471593975 treat image : temp/1752768750_961116_1372335861_697acc650c4ba8e6ef2a764c90e0ed86.jpg resize: (1080, 1632) 1372335861 -4.4187460715832145 treat image : temp/1752768750_961116_1372335858_b2659ae4e9f4621418711404305a1560.jpg resize: (1080, 1632) 1372335858 -4.4174613721146745 treat image : temp/1752768750_961116_1372335836_ad065d8a1ed3079c4e3711e03d9534d2.jpg resize: (1080, 1632) 1372335836 -2.0662374120101252 treat image : temp/1752768750_961116_1372335833_9cbbe80f5105d9658a3706b762206400.jpg resize: (1080, 1632) 1372335833 -2.0692639547479144 treat image : temp/1752768750_961116_1372335830_49f3e8f576265f84b50c7e7a50806f8a.jpg resize: (1080, 1632) 1372335830 -2.076446815799091 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.023867130279541016 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.035712480545043945 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.026680707931518555 save missing photos in datou_result : time spend for datou_step_exec : 16.784380674362183 time spend to save output : 0.09629225730895996 total time spend for step 1 : 16.880672931671143 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.68user 4.87system 0:24.53elapsed 79%CPU (0avgtext+0avgdata 138356maxresident)k 120inputs+8216outputs (0major+256846minor)pagefaults 0swaps