视频教学:https://www.bilibili.com/video/BV1Wu4y1B7K5/?spm_id_from=333.999.0.0
直接看效果:
代码教学:
# pip install openpyxl -i https://pypi.tuna.tsinghua.edu.cn/simple/
# pip install optuna -i https://pypi.tuna.tsinghua.edu.cn/simple/
import numpy as np
import pandas as pd
from tqdm import tqdm
import torch
from torch import nn
import torch.nn.functional as F
from torch import tensor
import torch.utils.data as Data
import math
from mat