As metioned in the last issue, I have made YUV lmdb instead of Y lmdb. However, when I use it as training set, it takes much longer time than origin method, about 2 times. I think it may be caused by the cv2.imdecode() function. I fould that when making lmdb, we use the cv2.imencode() with compression level as 1, therefore, we need to decode while reading data from lmdb. I would like to skip the cv2.imencode() while making lmdb, that is, save the data into lmdb without compression, in this way I don't need to use cv2.imdecode() function during training, which may save some time. I wonder that if this will make influence on the final result?
BTY, you have mentioned in the Q&A that you enlarge the dataset by 'set sampling index = target index % dataset len'. I don't understand it, could you please tell me where it is in the code?
Hi, I have met some problems during training.