一、给的源数据分析
二、wandb 使用教程
注册
wandb使用教程(一):基础用法 - 知乎 (zhihu.com)
pip install wandb
wandb login
Currently logged in as: anony-moose-277540. Use `wandb login --relogin` to force relogin
运行官方例子
import wandb
import random
# start a new wandb run to track this script
wandb.init(
# set the wandb project where this run will be logged
project="my-awesome-project",
# track hyperparameters and run metadata
config={
"learning_rate": 0.02,
"architecture": "CNN",
"dataset": "CIFAR-100",
"epochs": 10,
}
)
# simulate training
epochs = 10
offset = random.random() / 5
for epoch in range(2, epochs):
acc = 1 - 2 ** -epoch - random.random() / epoch - offset
loss = 2 ** -epoch + random.random() / epoch + offset
# log metrics to wandb
wandb.log({"acc": acc, "loss": loss})
# [optional] finish the wandb run, necessary in notebooks
wandb.finish()
结果
教程使用完成。
三、下面是我自己运行github上代码教程
wandb sweep --project geo_thermal1 config.yaml
ERROR Expected sweep_id in form of sweep, project/sweep, or entity/project/sweep
运行代码
wandb agent --count 5 wuhandigitallife/geo_thermal1/4eq4bor5
python3.7版本太低了。重新配置环境
一个假期回来,全忘了,页面就是直接调试train的
1、读取数据
感觉不适用于我现在的研究,这个是多光谱