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 : 3525652 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/3525652/ 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.4982993602752686 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 Tue Sep 16 19:27:31 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/1758043648_3525652_1383540696_14a4e2fa9c3719dc44740cd7490da974.jpg resize: (1080, 1632) 1383540696 -5.850112894263902 treat image : temp/1758043648_3525652_1383540684_f2d464e6e10f4ac4ea43fac5e20707bd.jpg resize: (1080, 1632) 1383540684 -5.330669476029881 treat image : temp/1758043648_3525652_1383540676_8ec80e877b5d34669ecfa21fe9601e22.jpg resize: (1080, 1632) 1383540676 -4.295586856052275 treat image : temp/1758043648_3525652_1383540670_a2a690fa2ad30c128cd43a62f5f263b7.jpg resize: (1080, 1632) 1383540670 -5.474489623246252 treat image : temp/1758043648_3525652_1383540669_3e148ad923d6df58dd1dd4fc7dd14f95.jpg resize: (1080, 1632) 1383540669 -3.471044574054223 treat image : temp/1758043648_3525652_1383540668_ebe8395c29799edabe4e00b84293ec6b.jpg resize: (1080, 1632) 1383540668 -0.6369931633552589 treat image : temp/1758043648_3525652_1383540650_b725b0556108000615409e990ec6b60e.jpg resize: (1080, 1632) 1383540650 -0.7367417690437527 treat image : temp/1758043648_3525652_1383540647_8baedef8f50a5519b482af85da3bbe68.jpg resize: (1080, 1632) 1383540647 -1.1377658306138265 treat image : temp/1758043648_3525652_1383540644_cc3e001f25c30955cd7a8a479a76ea54.jpg resize: (1080, 1632) 1383540644 -3.4521563262234873 treat image : temp/1758043648_3525652_1383540643_a49a64c26ca9bf54d052122960e18c4e.jpg resize: (1080, 1632) 1383540643 -5.494390632076485 treat image : temp/1758043648_3525652_1383540642_c537d99ce4e8d8474c04a996e04660b8.jpg resize: (1080, 1632) 1383540642 -5.816598895738465 treat image : temp/1758043648_3525652_1383540638_9c1d514807d77c38866bfaf6577b13d2.jpg resize: (1080, 1632) 1383540638 -5.462217736128668 treat image : temp/1758043648_3525652_1383540636_0cc31c069ff9013bb901f2126c04bc06.jpg resize: (1080, 1632) 1383540636 -1.6868601649957122 treat image : temp/1758043648_3525652_1383540634_c2c3c876b58aecc2d278f929229e4370.jpg resize: (1080, 1632) 1383540634 -1.3225654973500356 treat image : temp/1758043648_3525652_1383540633_0cea118d793d8bfc779aa44d54280137.jpg resize: (1080, 1632) 1383540633 -1.887386135268837 treat image : temp/1758043648_3525652_1383540620_1a2f2df6acb58d637dba16d0eb36b985.jpg resize: (1080, 1632) 1383540620 -3.8142638445227672 treat image : temp/1758043648_3525652_1383540618_60ef876fce413722013ec1a80e9b7283.jpg resize: (1080, 1632) 1383540618 -3.643175010242088 treat image : temp/1758043648_3525652_1383540616_e034e4004503495d882c440ab06a342a.jpg resize: (1080, 1632) 1383540616 -5.703402859205993 treat image : temp/1758043648_3525652_1383540614_cbcc89f5c28772c39770e4aa8fb8ffc5.jpg resize: (1080, 1632) 1383540614 -4.261236307515272 treat image : temp/1758043648_3525652_1383540613_eb58ded647d886dca1aff89a5f551387.jpg resize: (1080, 1632) 1383540613 -5.484170117738824 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.012468814849853516 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.01398777961730957 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01795649528503418 save missing photos in datou_result : time spend for datou_step_exec : 15.444279909133911 time spend to save output : 0.0498957633972168 total time spend for step 1 : 15.494175672531128 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.49user 3.65system 0:22.60elapsed 80%CPU (0avgtext+0avgdata 138664maxresident)k 4712inputs+9288outputs (22major+259763minor)pagefaults 0swaps