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 : 3096132 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/3096132/ 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.33042049407959 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 08: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/1752820048_3096132_1372323917_8ff67a5d65a5e47861f52079146e070b.jpg resize: (1080, 1632) 1372323917 -5.510312980190081 treat image : temp/1752820048_3096132_1372323916_5982ae7fcdd709625ed7d3992e4ee6a5.jpg resize: (1080, 1632) 1372323916 -5.505698665787494 treat image : temp/1752820048_3096132_1372323915_e79b7a8fa2adb3b5845002b8801f3001.jpg resize: (1080, 1632) 1372323915 -5.5053200503841895 treat image : temp/1752820048_3096132_1372323914_c5c3975d389df7df3a0f69f9426b0a04.jpg resize: (1080, 1632) 1372323914 -5.51417806656722 treat image : temp/1752820048_3096132_1372323885_031dbcb56218c9a1414f3d0f31e72b97.jpg resize: (1080, 1632) 1372323885 -5.4651877439477135 treat image : temp/1752820048_3096132_1372323883_67c64d3d05fa9cb2f002ca2f1acd5261.jpg resize: (1080, 1632) 1372323883 -5.430681946357888 treat image : temp/1752820048_3096132_1372323882_a67a83b32b5dd9c074d13075e2360580.jpg resize: (1080, 1632) 1372323882 -5.47793967068222 treat image : temp/1752820048_3096132_1372323881_a897af745b680b292e8bf760dfe4d061.jpg resize: (1080, 1632) 1372323881 -5.493508208762431 treat image : temp/1752820048_3096132_1372323880_332de12f515b95b58c9389d0baca6baa.jpg resize: (1080, 1632) 1372323880 -5.493403793761135 treat image : temp/1752820048_3096132_1372323878_2fd06b8043c7d68eb938c3bd7bfdeeb9.jpg resize: (1080, 1632) 1372323878 -5.497355342222987 treat image : temp/1752820048_3096132_1372323869_9a207d1e3beb0f91b00c69d7d9563de5.jpg resize: (1080, 1632) 1372323869 -5.221917477020004 treat image : temp/1752820048_3096132_1372323867_e9409e9f75f1c526163a99ef10b6aa94.jpg resize: (1080, 1632) 1372323867 -5.218291919124333 treat image : temp/1752820048_3096132_1372323865_f7469192282bdc78ddd2e653878be670.jpg resize: (1080, 1632) 1372323865 -5.203269824842555 treat image : temp/1752820048_3096132_1372323863_72f10f3d06629022d5b973d519f194dc.jpg resize: (1080, 1632) 1372323863 -5.340940355957491 treat image : temp/1752820048_3096132_1372323861_f2860ca0ed41c61f88f58b9fdd394838.jpg resize: (1080, 1632) 1372323861 -5.279775533729676 treat image : temp/1752820048_3096132_1372323858_6338470fb039493a03b6b1beebf85c1f.jpg resize: (1080, 1632) 1372323858 -5.441788154831894 treat image : temp/1752820048_3096132_1372323825_7f87e7c257e8ebac6c78f45b55384a09.jpg resize: (1080, 1632) 1372323825 -5.241326865179465 treat image : temp/1752820048_3096132_1372323823_b9f845c6757f149bca35bbba6515dca7.jpg resize: (1080, 1632) 1372323823 -5.233019857211314 treat image : temp/1752820048_3096132_1372323821_aee43fb63817a441be4f76bb160f6fce.jpg resize: (1080, 1632) 1372323821 -5.170817577833365 treat image : temp/1752820048_3096132_1372323818_e4ac496a9a10ba668f28d51d183796c4.jpg resize: (1080, 1632) 1372323818 -5.234521198620995 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.011853694915771484 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.06690621376037598 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.05903267860412598 save missing photos in datou_result : time spend for datou_step_exec : 14.96671199798584 time spend to save output : 0.14270710945129395 total time spend for step 1 : 15.109419107437134 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.05user 2.95system 0:22.34elapsed 76%CPU (0avgtext+0avgdata 139328maxresident)k 40inputs+10592outputs (10major+254946minor)pagefaults 0swaps