io_object.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:MV3D-Pytorch 作者: dongwoohhh 项目源码 文件源码
def load_rgb(data_path):
    im_path = os.path.join(data_path,'image_2','*.png')
    im_files = sorted(glob.glob(im_path))

    im_all = []

    #tic = time.time()
    for iter_files in im_files:            
        if len(im_all)<100 :
            im = np.uint8(mpimg.imread(iter_files) * 255)
            im_all.append(im) 
            print(im.shape)
    return im_all
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号