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 : 3928955 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/3928955/ 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.2675435543060303 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 Jul 18 19:42:32 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/1752860549_3928955_1372320842_d09aebb02d94e5561ef5fd0e5aa78e06.jpg resize: (1080, 1632) 1372320842 -2.618244694389904 treat image : temp/1752860549_3928955_1372320837_6720709fb108c9663282b81cca6bf2d5.jpg resize: (1080, 1632) 1372320837 -2.6168568014380447 treat image : temp/1752860549_3928955_1372320834_b90920cd4a843b5b9fb4db63298cb16a.jpg resize: (1080, 1632) 1372320834 -2.630197504468336 treat image : temp/1752860549_3928955_1372320829_fd240d95208f2f09e2d3794fba60f23a.jpg resize: (1080, 1632) 1372320829 -2.6468572812564792 treat image : temp/1752860549_3928955_1372320823_cc896eca6c0c53fbecfb213b8c59932c.jpg resize: (1080, 1632) 1372320823 -2.64422821667163 treat image : temp/1752860549_3928955_1372320818_e02b6d9b736f3398e5d61b7f9d1bcab2.jpg resize: (1080, 1632) 1372320818 -2.645888611900234 treat image : temp/1752860549_3928955_1372320812_ac0cf63535e30673131c39fcb58de81c.jpg resize: (1080, 1632) 1372320812 -3.105440230008165 treat image : temp/1752860549_3928955_1372320806_6d91c794a1ced5684d6c5dcca101f873.jpg resize: (1080, 1632) 1372320806 -2.526786956624268 treat image : temp/1752860549_3928955_1372320802_7d72c4aff520e3957ce2c69b65b706a3.jpg resize: (1080, 1632) 1372320802 -2.5394491097266374 treat image : temp/1752860549_3928955_1372320799_9ebe80bfe5655e8acedae0710c02e73d.jpg resize: (1080, 1632) 1372320799 -2.561576195880514 treat image : temp/1752860549_3928955_1372320795_0c4a29a4ab454dd28b99a9950ce561ed.jpg resize: (1080, 1632) 1372320795 -2.57630477537633 treat image : temp/1752860549_3928955_1372320791_a2233b38af5547027181528f5354763d.jpg resize: (1080, 1632) 1372320791 -2.595540740009959 treat image : temp/1752860549_3928955_1372320787_aa8e58beec526a41b5f7769b9bd4985d.jpg resize: (1080, 1632) 1372320787 -2.601445947565071 treat image : temp/1752860549_3928955_1372320777_817206aa0e19bdb24faa57460502fe68.jpg resize: (1080, 1632) 1372320777 -3.1405924293458285 treat image : temp/1752860549_3928955_1372320772_8f1175685b749f90b710d252318e8f13.jpg resize: (1080, 1632) 1372320772 -2.9902947637045973 treat image : temp/1752860549_3928955_1372320768_97ebd6c436c3dfbd48cdc5cad9002f1e.jpg resize: (1080, 1632) 1372320768 -2.4928300738996265 treat image : temp/1752860549_3928955_1372320765_fadf2dfa95bfe3f621d2c3a25c9ee5d6.jpg resize: (1080, 1632) 1372320765 -2.4856798129066573 treat image : temp/1752860549_3928955_1372320760_2e4ffeb7b0d2cd1ee6a000b9de4e96fc.jpg resize: (1080, 1632) 1372320760 -2.485583919240877 treat image : temp/1752860549_3928955_1372320755_81a6ca4bd9bb5cb5a1a81232284cb5ab.jpg resize: (1080, 1632) 1372320755 -2.50370571316421 treat image : temp/1752860549_3928955_1372320734_8a65426f6cf8e2bf1ff81ed2150b6d68.jpg resize: (1080, 1632) 1372320734 -3.1985499127218597 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.01284480094909668 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.0119171142578125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013939857482910156 save missing photos in datou_result : time spend for datou_step_exec : 15.51720666885376 time spend to save output : 0.043227195739746094 total time spend for step 1 : 15.560433864593506 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.38user 3.61system 0:21.67elapsed 83%CPU (0avgtext+0avgdata 138812maxresident)k 320inputs+7112outputs (7major+258222minor)pagefaults 0swaps