constants.py 文件源码

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

项目:Adversarial_Video_Generation 作者: dyelax 项目源码 文件源码
def get_train_frame_dims():
    img_path = glob(os.path.join(TRAIN_DIR, '*/*'))[0]
    img = imread(img_path, mode='RGB')
    shape = np.shape(img)

    return shape[0], shape[1]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号