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 : 3296693 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 : 1983>100 please execute split_portfolio.py -i 21715706 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2691079'] with mtr_portfolio_ids : ['21715706'] and first list_photo_ids : [] new path : /proc/3296693/ 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 : 4.410936117172241 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 Mar 26 15:37: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/1742999848_3296693_1347499286_3bae8bf7f3318e27d4c90830a5cb3b98.jpg resize: (1080, 1632) 1347499286 -5.630472996046064 treat image : temp/1742999848_3296693_1347496114_2996df3fd73be6fc017333a805bd3a4f.jpg resize: (1080, 1632) 1347496114 -4.690097324289183 treat image : temp/1742999848_3296693_1347496086_ecd3a24266feba3b0c721ff39d5ac97d.jpg resize: (1080, 1632) 1347496086 -5.892596400984278 treat image : temp/1742999848_3296693_1347496048_2f761969bed7966c5980a80cf2f6b753.jpg resize: (1080, 1632) 1347496048 -4.362531643809658 treat image : temp/1742999848_3296693_1347460122_7971e2f84e0837dda12e53fb2d18e5d7.jpg resize: (1080, 1632) 1347460122 -5.517407468501184 treat image : temp/1742999848_3296693_1347460090_a7bf95b064434bc05e2588da6b164782.jpg resize: (1080, 1632) 1347460090 -5.719835644201781 treat image : temp/1742999848_3296693_1347460085_d79f444135c9c20e4bd4f9d3e7bc6804.jpg resize: (1080, 1632) 1347460085 -2.071926155195072 treat image : temp/1742999848_3296693_1347460083_24606df05707272637e64ab4eba24223.jpg resize: (1080, 1632) 1347460083 -3.100372360911342 treat image : temp/1742999848_3296693_1347460044_61e75bef4eaaf28606f13f4ed82f62f6.jpg resize: (1080, 1632) 1347460044 -1.8162340918799438 treat image : temp/1742999848_3296693_1347460040_9bb7d7c4e3944f4ffc6749856dbca833.jpg resize: (1080, 1632) 1347460040 -4.519325962963483 treat image : temp/1742999848_3296693_1347460035_ec08f6f2db6a0d2a81ac2a2fa0e5c5d9.jpg resize: (1080, 1632) 1347460035 -5.520745282300083 treat image : temp/1742999848_3296693_1347460000_8313baffd4f4fb05b741cc5b3add9ef1.jpg resize: (1080, 1632) 1347460000 -5.462431442382037 treat image : temp/1742999848_3296693_1347459997_15a75993d3bce0b0a5a280a7760bcbe1.jpg resize: (1080, 1632) 1347459997 -4.429506566080943 treat image : temp/1742999848_3296693_1347459995_44430350eaa497fcf2f54e3fc1c3a470.jpg resize: (1080, 1632) 1347459995 -2.4515710349408346 treat image : temp/1742999848_3296693_1347459965_07d2e4da3c67858465e6f80f0350d057.jpg resize: (1080, 1632) 1347459965 -5.7083138176334804 treat image : temp/1742999848_3296693_1347459962_a3660803ea5957d26c110f4038558194.jpg resize: (1080, 1632) 1347459962 -5.358839186482033 treat image : temp/1742999848_3296693_1347459957_d8a2a0825524269fa941ecdd36c7c945.jpg resize: (1080, 1632) 1347459957 -5.13114797524819 treat image : temp/1742999848_3296693_1347459954_6623b6c4dfe166d3e11c63e71fd2782e.jpg resize: (1080, 1632) 1347459954 -5.214571985094793 treat image : temp/1742999848_3296693_1347459950_150699281f07df3248ad2d5c27dbebcb.jpg resize: (1080, 1632) 1347459950 -4.184944649703231 treat image : temp/1742999848_3296693_1347459922_0968e18a13118e1a121a963d6e2d072b.jpg resize: (1080, 1632) 1347459922 -5.534391652534537 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.0158236026763916 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.015841960906982422 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01782512664794922 save missing photos in datou_result : time spend for datou_step_exec : 16.89219880104065 time spend to save output : 0.6533970832824707 total time spend for step 1 : 17.54559588432312 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.64user 4.05system 0:25.25elapsed 78%CPU (0avgtext+0avgdata 139212maxresident)k 7008inputs+9696outputs (90major+260713minor)pagefaults 0swaps