仅用于个人记录:marine-anomaly-detection-main 多光谱海洋污染探测

一、给的源数据分析 

GitHub - lucamarini22/marine-anomaly-detection: Semantic segmentation of marine anomalies using semi-supervised learning (FixMatch for semantic segmentation) on Sentinel-2 multispectral images. 

二、wandb 使用教程

注册 

权重与偏见:人工智能开发者平台 (wandb.ai)

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、读取数据

感觉不适用于我现在的研究,这个是多光谱

  • 5
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值