PyTorch - MAE(Masked Autoencoders)推理脚本
Posted SpikeKing
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了PyTorch - MAE(Masked Autoencoders)推理脚本相关的知识,希望对你有一定的参考价值。
MAE推理脚本:
- 需要安装:pip install timm==0.4.5
- 需要下载:mae_visualize_vit_base.pth,447M
源码:
#!/usr/bin/env python
# -- coding: utf-8 --
"""
Copyright (c) 2022. All rights reserved.
Created by C. L. Wang on 2022/10/21
"""
import os
import matplotlib.pyplot as plt
import numpy as np
import torch
以上是关于PyTorch - MAE(Masked Autoencoders)推理脚本的主要内容,如果未能解决你的问题,请参考以下文章
PyTorch笔记 - MAE(Masked Autoencoders) PyTorch源码
PyTorch - MAE(Masked Autoencoders)推理脚本
PyTorch笔记 - MAE: Masked Autoencoders Are Scalable Vision Learners
PyTorch笔记 - MAE: Masked Autoencoders Are Scalable Vision Learners
PyTorch笔记 - MAE: Masked Autoencoders Are Scalable Vision Learners