1.参考链接
2.应用 target并设置多选编辑 添加[CanEditMultipleObjects]
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;[CustomEditor(typeof(LightsState))]
[CanEditMultipleObjects]
public class TestInspector :…
想一步步的实现Diffusion VLA论文的思路,不过论文的图像的输入用DINOv2进行特征提取的,我先把这个部分换成ResNet50。
老铁们,直接上代码:
from PIL import Image
import torch
import torchvision.models as models
from torch…