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 : 2585854 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 : 465>100 please execute split_portfolio.py -i 20528746 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2584364'] with mtr_portfolio_ids : ['20528746'] and first list_photo_ids : [] new path : /proc/2585854/ 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 : 1.9703004360198975 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 Feb 14 02:07:28 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/1739495246_2585854_1337490070_6197a9d472b4e485e8fa8c5c9cd59a36.jpg resize: (1080, 1632) 1337490070 -2.4924152326178253 treat image : temp/1739495246_2585854_1337490068_1a7b3ce6570b744069c8e8af710a1a69.jpg resize: (1080, 1632) 1337490068 -4.8832855606068195 treat image : temp/1739495246_2585854_1337490066_14bbeee291ba39595f2be5f31b8a0671.jpg resize: (1080, 1632) 1337490066 -5.812144526568927 treat image : temp/1739495246_2585854_1337490064_66a2bfe09d1d8f9d6e824dad1db8530d.jpg resize: (1080, 1632) 1337490064 -4.960779675052982 treat image : temp/1739495246_2585854_1337489904_ad5134db3a4d6a4115bc9cb47bdc431c.jpg resize: (1080, 1632) 1337489904 -5.824464183589931 treat image : temp/1739495246_2585854_1337489903_21d7a50acabd39f989cf497626850908.jpg resize: (1080, 1632) 1337489903 -6.021394801748636 treat image : temp/1739495246_2585854_1337489895_725a705d920f81a16956e3dc0e0eb7f2.jpg resize: (1080, 1632) 1337489895 -5.7425885723378824 treat image : temp/1739495246_2585854_1337489843_78a343e409479c5c7c6403388c04b552.jpg resize: (1080, 1632) 1337489843 -2.1750265975753753 treat image : temp/1739495246_2585854_1337489839_9aaaa207d0b6f7150d5189f6dc76eab4.jpg resize: (1080, 1632) 1337489839 -3.4193946598062603 treat image : temp/1739495246_2585854_1337489791_9750b6168baf79eb4dbb5ddb1125e26b.jpg resize: (1080, 1632) 1337489791 -2.1320773336287973 treat image : temp/1739495246_2585854_1337487976_a5d16537761de41f800eface5586659d.jpg resize: (1080, 1632) 1337487976 -4.061838870105516 treat image : temp/1739495246_2585854_1337487975_4ccff6aab207dad0a783aa3e0a170b25.jpg resize: (1080, 1632) 1337487975 -4.061838870105516 treat image : temp/1739495246_2585854_1337487974_431748da20e6826cd65f849462445e3a.jpg resize: (1080, 1632) 1337487974 -5.638957662899852 treat image : temp/1739495246_2585854_1337487973_a7d8eacfa6e0affee4faa26095fd7e38.jpg resize: (1080, 1632) 1337487973 -5.638957662899852 treat image : temp/1739495246_2585854_1337487968_d9ca56b4b9a9d4f2371e24383d828990.jpg resize: (1080, 1632) 1337487968 -5.613508324229057 treat image : temp/1739495246_2585854_1337487965_8bf73280a85ec7311c42bfa4c15662ee.jpg resize: (1080, 1632) 1337487965 -2.6495455732264785 treat image : temp/1739495246_2585854_1337487962_57c3eab308038cd9463bdc70764b240c.jpg resize: (1080, 1632) 1337487962 -2.7855967589416957 treat image : temp/1739495246_2585854_1337487959_a53ee6eb47b4bc01b40f418e85c51483.jpg resize: (1080, 1632) 1337487959 -2.947452558392077 treat image : temp/1739495246_2585854_1337487949_08e626d5667c5dd5ed80d8cc88e5fabe.jpg resize: (1080, 1632) 1337487949 -2.8563971649082176 treat image : temp/1739495246_2585854_1337487948_04258dbe4f2d7c969ac0f0076c8a5257.jpg resize: (1080, 1632) 1337487948 -5.417719993674576 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.011894702911376953 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.012989044189453125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017824411392211914 save missing photos in datou_result : time spend for datou_step_exec : 13.58542251586914 time spend to save output : 0.04732537269592285 total time spend for step 1 : 13.632747888565063 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.20user 3.04system 0:17.50elapsed 92%CPU (0avgtext+0avgdata 137260maxresident)k 264inputs+9120outputs (2major+157957minor)pagefaults 0swaps