线性回归的PyTorch实现

Index 目录索引

  • 写在前面
  • PyTorch的__call__()和__init__()方法
  • 线性回归的PyTorch代码实现
  • 参考文章


写在前面

今天将继续进行PyTorch学习系列的更新,本文将用线性回归的例子,使用PyTorch来搭建人工智能神经网络1,主要讲解如何搭建用通用的模板来搭建一个完整的网络模型。【这是深度学习数学原理专题系列的第三篇文章】


PyTorch的__call__()和__init__()方法

要灵活运用PyTorch来搭建神经网络模型,前提是知道python类中的__call____init__方法。其中,__init__是类的初始化函数,类似于C++的构造函数,__call__可以使得类对象具有类似函数的功能2

大家都知道,nn.Module 是所有神经网络单元(neural network modules)的基类,PyTorch在nn.Module中,实现了__call__方法,而在__call__方法中调用了forward函数3


线性回归的PyTorch代码实现

具体的讲解尽在注释中:

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time    : 2021/11/25 20:46
# @Author  : William Baker
# @FileName: lesson5_Linear_Regression_with_PyTorch.py
# @Software: PyCharm
# @Blog    : https://blog.csdn.net/weixin_43051346

import torch
import matplotlib.pyplot as plt
import os
os.environ['KMP_DUPLICATE_LIB_OK'] = 'TRUE'
import numpy as np

plt.rcParams['font.sans-serif'] = ['SimHei']  #显示中文标签
plt.rcParams['axes.unicode_minus'] = False
from mpl_toolkits.mplot3d import Axes3D    # 绘制3D立体图
# fig = plt.figure()
# ax = Axes3D(fig)
# 绘制线
plt.figure(2)
ax2 = plt.subplot(projection='3d')


"""
a = torch.tensor([1.0])
a.requires_grad = True      # 或者 a.requires_grad_()
print(a)    # tensor([1.], requires_grad=True)
print(a.data)    # tensor([1.])
print(a.type())    # torch.FloatTensor                # a的类型是tensor
print(a.data.type())     # torch.FloatTensor             # a.data的类型是tensor
print(a.grad)       # None
print(type(a.grad))      # 
"""

# Step1: 准备数据集
x_data = torch.tensor([[1.0], [2.0], [3.0]])    # 结构为(3,1)
# print(x_data.shape)   # torch.Size([3, 1])
y_data = torch.tensor([[2.0], [4.0], [6.0]])

# Step2: 用类设计模型,目的是为了前向传播forward,计算预测值 y_hat
class LinearModel(torch.nn.Module):
    def __init__(self):   # 构造函数,用于初始化对象
        super(LinearModel, self).__init__()
        self.linear = torch.nn.Linear(1, 1)    # (1,1)是指输入x和输出y的特征维度,
                                               # torch.nn.Linear是pytorch的一个类,类后面加括号此处是在构造对象,该对象包含w和b两个tensor
                                               # 自动进行w*x+b的计算,linear是继承自Module,能进行反向传播
    def forward(self, x):   # 前馈时候执行计算(nn.Module会根据计算图自动实现 Backward反向传播)
        y_pred = self.linear(x)     # 进行y_pred=wx+b,可调用对象后面加括号 linear(x), 意味着实现了一个__call__函数的对象
        return y_pred

model = LinearModel()    # 用自己定义的上述模型时,只需要将其实例化即可,model也是一个可调用对象

# Step3: 设计loss和optimizer,其中计算loss是为了进行反向传播,计算optimizer是为了更新梯度
# MSELoss类继承自Module,torch.nn.MSELoss,可调用,pytorch提供的MSE损失函数
# criterion = torch.nn.MSELoss(size_average=False)
criterion = torch.nn.MSELoss(reduction='sum')

# 实例化一个优化器对象,parameters是所有权重参数
# parameters会检查module里面的所有成员,如果成员里有相应的权重,那么都要加到训练的参数集合上
optimizer = torch.optim.SGD(model.parameters(), lr=0.01)

# 新建几个列表,用于储存数据以进行可视化展示
epoch_list = []
loss_list = []
w_list = []
b_list = []
# Step4: 开始训练 (理想情况的训练结果是w=2,b=0,预测值为8)
for epoch in range(1000):
    y_pred = model(x_data)
    loss = criterion(y_pred, y_data)
    # loss计算出来是一个标量,print的时候会自动调用__str()__,所以打印的时候就不会产生计算图
    # print(epoch, loss)        # 0 tensor(44.2999, grad_fn=)
    # print('Epoch:{}, Loss:{}'.format(epoch, loss.item()))       # 0 19.965293884277344
    print('Epoch:{}, Loss:{}, w:{}, b:{}'.format(epoch, loss.item(), model.linear.weight.item(), model.linear.bias.item()))

    # 将梯度值清0
    optimizer.zero_grad()
    # 反向传播求梯度
    # print(loss)
    loss.backward()
    # 优化器 自动更新权重
    optimizer.step()

    # print('Epoch:{}, w:{}, b:{}'.format(epoch, model.linear.weight.item(), model.linear.bias.item()))

    epoch_list.append(epoch)
    loss_list.append(loss)
    # loss_list.append(loss.item())
    w_list.append(model.linear.weight.item())
    b_list.append(model.linear.bias.item())


# 打印出最终的权重和偏置值
print('w = ', model.linear.weight.item())
"""
# print('w- = ', model.linear.weight)
w- =  Parameter containing:
tensor([[2.0472]], requires_grad=True)
"""
print('b = ', model.linear.bias.item())

x_test = torch.tensor([4.0])
y_test = model(x_test)
print('y_pred = ', y_test.data)

"""
# 绘图
plt.plot(epoch_list, loss_list)
plt.ylabel('Loss')
plt.xlabel('Epoch')
plt.show()
"""

# """
ax2.plot3D(xs=epoch_list, ys=loss_list, zs=w_list, color='blue')
# 设置标签、标题
ax2.set_xlabel('Epoch')
ax2.set_ylabel('Loss')
ax2.set_zlabel('Weight')
plt.title('三维曲线')
plt.show()
# """

结果输出为:


Epoch:0, Loss:39.90363693237305, w:0.12869513034820557, b:0.431010365486145
Epoch:1, Loss:18.02081298828125, w:0.6009392738342285, b:0.6297063231468201
Epoch:2, Loss:8.275513648986816, w:0.9171115159988403, b:0.7598112225532532
Epoch:3, Loss:3.933544874191284, w:1.1291429996490479, b:0.8441691398620605
Epoch:4, Loss:1.9970381259918213, w:1.271682620048523, b:0.8980218172073364
Epoch:5, Loss:1.1314250230789185, w:1.3678488731384277, b:0.9315385818481445
Epoch:6, Loss:0.7425949573516846, w:1.4330666065216064, b:0.9515044093132019
Epoch:7, Loss:0.5660653710365295, w:1.4776273965835571, b:0.9624461531639099
Epoch:8, Loss:0.4840957224369049, w:1.508398175239563, b:0.9673840999603271
Epoch:9, Loss:0.44426894187927246, w:1.5299606323242188, b:0.9683332443237305
Epoch:10, Loss:0.42325150966644287, w:1.545371651649475, b:0.9666379690170288
Epoch:11, Loss:0.41065478324890137, w:1.5566710233688354, b:0.9631950855255127
Epoch:12, Loss:0.4018533229827881, w:1.565219759941101, b:0.9586028456687927
Epoch:13, Loss:0.39478713274002075, w:1.5719258785247803, b:0.9532603025436401
Epoch:14, Loss:0.3885386884212494, w:1.5773954391479492, b:0.947433590888977
Epoch:15, Loss:0.38269922137260437, w:1.5820326805114746, b:0.9413001537322998
Epoch:16, Loss:0.3770848512649536, w:1.5861074924468994, b:0.9349782466888428
Epoch:17, Loss:0.3716154098510742, w:1.5898000001907349, b:0.928546667098999
Epoch:18, Loss:0.3662521243095398, w:1.5932303667068481, b:0.9220578670501709
Epoch:19, Loss:0.360978364944458, w:1.5964789390563965, b:0.9155467748641968
Epoch:20, Loss:0.35578593611717224, w:1.5995992422103882, b:0.9090365171432495
Epoch:21, Loss:0.35067054629325867, w:1.6026270389556885, b:0.9025424122810364
Epoch:22, Loss:0.3456299901008606, w:1.605586290359497, b:0.8960745930671692
Epoch:23, Loss:0.34066227078437805, w:1.6084930896759033, b:0.8896397352218628
Epoch:24, Loss:0.33576661348342896, w:1.6113582849502563, b:0.8832421898841858
Epoch:25, Loss:0.33094120025634766, w:1.6141889095306396, b:0.8768846392631531
Epoch:26, Loss:0.32618504762649536, w:1.6169898509979248, b:0.8705689311027527
Epoch:27, Loss:0.3214970529079437, w:1.6197644472122192, b:0.864296019077301
Epoch:28, Loss:0.3168763518333435, w:1.6225148439407349, b:0.8580664992332458
Epoch:29, Loss:0.3123226463794708, w:1.6252427101135254, b:0.8518807291984558
Epoch:30, Loss:0.3078339099884033, w:1.6279491186141968, b:0.8457387685775757
Epoch:31, Loss:0.3034098446369171, w:1.6306346654891968, b:0.8396405577659607
Epoch:32, Loss:0.2990494966506958, w:1.6333000659942627, b:0.8335859775543213
Epoch:33, Loss:0.2947518229484558, w:1.6359456777572632, b:0.8275747895240784
Epoch:34, Loss:0.29051560163497925, w:1.638571858406067, b:0.8216068148612976
Epoch:35, Loss:0.2863404154777527, w:1.6411789655685425, b:0.8156817555427551
Epoch:36, Loss:0.28222525119781494, w:1.64376699924469, b:0.8097993731498718
Epoch:37, Loss:0.2781693637371063, w:1.646336317062378, b:0.8039593696594238
Epoch:38, Loss:0.2741714119911194, w:1.648887038230896, b:0.7981614470481873
Epoch:39, Loss:0.2702312171459198, w:1.6514192819595337, b:0.7924053072929382
Epoch:40, Loss:0.2663477063179016, w:1.6539332866668701, b:0.7866906523704529
Epoch:41, Loss:0.262519896030426, w:1.6564290523529053, b:0.7810172438621521
Epoch:42, Loss:0.2587469220161438, w:1.6589068174362183, b:0.7753847241401672
Epoch:43, Loss:0.2550283670425415, w:1.6613667011260986, b:0.7697927951812744
Epoch:44, Loss:0.2513631582260132, w:1.663808822631836, b:0.7642412185668945
Epoch:45, Loss:0.24775053560733795, w:1.6662334203720093, b:0.7587296962738037
Epoch:46, Loss:0.24419023096561432, w:1.6686404943466187, b:0.7532579302787781
Epoch:47, Loss:0.24068056046962738, w:1.6710301637649536, b:0.7478256225585938
Epoch:48, Loss:0.23722177743911743, w:1.6734026670455933, b:0.7424324750900269
Epoch:49, Loss:0.23381243646144867, w:1.6757580041885376, b:0.7370781898498535
Epoch:50, Loss:0.2304522842168808, w:1.6780964136123657, b:0.7317625284194946
Epoch:51, Loss:0.22714026272296906, w:1.6804178953170776, b:0.7264851927757263
Epoch:52, Loss:0.22387593984603882, w:1.6827226877212524, b:0.7212459444999695
Epoch:53, Loss:0.22065865993499756, w:1.6850107908248901, b:0.7160444855690002
Epoch:54, Loss:0.2174871414899826, w:1.6872824430465698, b:0.7108805179595947
Epoch:55, Loss:0.2143615484237671, w:1.6895376443862915, b:0.7057538032531738
Epoch:56, Loss:0.21128106117248535, w:1.6917766332626343, b:0.7006640434265137
Epoch:57, Loss:0.20824439823627472, w:1.6939995288848877, b:0.6956110000610352
Epoch:58, Loss:0.20525166392326355, w:1.6962063312530518, b:0.6905943751335144
Epoch:59, Loss:0.2023017704486847, w:1.6983972787857056, b:0.6856139302253723
Epoch:60, Loss:0.1993946135044098, w:1.7005723714828491, b:0.6806694269180298
Epoch:61, Loss:0.19652879238128662, w:1.702731728553772, b:0.6757605671882629
Epoch:62, Loss:0.19370445609092712, w:1.7048755884170532, b:0.6708871126174927
Epoch:63, Loss:0.1909206062555313, w:1.7070039510726929, b:0.6660488247871399
Epoch:64, Loss:0.18817675113677979, w:1.7091169357299805, b:0.6612454056739807
Epoch:65, Loss:0.18547259271144867, w:1.7112147808074951, b:0.6564766764640808
Epoch:66, Loss:0.18280676007270813, w:1.7132974863052368, b:0.6517423391342163
Epoch:67, Loss:0.18017956614494324, w:1.7153650522232056, b:0.6470420956611633
Epoch:68, Loss:0.17759010195732117, w:1.7174177169799805, b:0.6423757672309875
Epoch:69, Loss:0.17503808438777924, w:1.719455599784851, b:0.6377431154251099
Epoch:70, Loss:0.17252236604690552, w:1.721478819847107, b:0.6331438422203064
Epoch:71, Loss:0.17004303634166718, w:1.7234874963760376, b:0.6285777688026428
Epoch:72, Loss:0.16759920120239258, w:1.725481629371643, b:0.6240445971488953
Epoch:73, Loss:0.16519056260585785, w:1.7274614572525024, b:0.6195441484451294
Epoch:74, Loss:0.16281653940677643, w:1.7294269800186157, b:0.6150761246681213
Epoch:75, Loss:0.16047650575637817, w:1.7313783168792725, b:0.610640287399292
Epoch:76, Loss:0.15817005932331085, w:1.7333155870437622, b:0.606236457824707
Epoch:77, Loss:0.15589718520641327, w:1.7352389097213745, b:0.6018643975257874
Epoch:78, Loss:0.15365666151046753, w:1.7371482849121094, b:0.5975238680839539
Epoch:79, Loss:0.15144845843315125, w:1.739043951034546, b:0.5932146310806274
Epoch:80, Loss:0.14927172660827637, w:1.740925908088684, b:0.5889365077018738
Epoch:81, Loss:0.14712634682655334, w:1.7427942752838135, b:0.584689199924469
Epoch:82, Loss:0.14501190185546875, w:1.7446491718292236, b:0.5804725289344788
Epoch:83, Loss:0.14292789995670319, w:1.746490716934204, b:0.576286256313324
Epoch:84, Loss:0.1408737748861313, w:1.7483189105987549, b:0.5721302032470703
Epoch:85, Loss:0.13884928822517395, w:1.750133991241455, b:0.5680041313171387
Epoch:86, Loss:0.136853888630867, w:1.7519359588623047, b:0.56390780210495
Epoch:87, Loss:0.13488700985908508, w:1.7537249326705933, b:0.5598410367965698
Epoch:88, Loss:0.13294830918312073, w:1.7555010318756104, b:0.5558035969734192
Epoch:89, Loss:0.13103775680065155, w:1.757264256477356, b:0.551795244216919
Epoch:90, Loss:0.12915465235710144, w:1.7590148448944092, b:0.5478157997131348
Epoch:91, Loss:0.12729832530021667, w:1.76075279712677, b:0.5438650846481323
Epoch:92, Loss:0.12546904385089874, w:1.762478232383728, b:0.5399428606033325
Epoch:93, Loss:0.12366576492786407, w:1.7641911506652832, b:0.5360488891601562
Epoch:94, Loss:0.12188848108053207, w:1.7658917903900146, b:0.5321829915046692
Epoch:95, Loss:0.12013664841651917, w:1.7675801515579224, b:0.528344988822937
Epoch:96, Loss:0.11841027438640594, w:1.769256353378296, b:0.5245346426963806
Epoch:97, Loss:0.11670834571123123, w:1.7709203958511353, b:0.5207517743110657
Epoch:98, Loss:0.11503114551305771, w:1.77257239818573, b:0.5169962048530579
Epoch:99, Loss:0.113378144800663, w:1.7742125988006592, b:0.5132677555084229
Epoch:100, Loss:0.1117483600974083, w:1.7758409976959229, b:0.5095661878585815
Epoch:101, Loss:0.11014248430728912, w:1.777457594871521, b:0.5058912634849548
Epoch:102, Loss:0.10855944454669952, w:1.7790625095367432, b:0.5022428631782532
Epoch:103, Loss:0.10699936747550964, w:1.780655860900879, b:0.49862077832221985
Epoch:104, Loss:0.10546168684959412, w:1.7822376489639282, b:0.49502483010292053
Epoch:105, Loss:0.10394608229398727, w:1.7838081121444702, b:0.4914548099040985
Epoch:106, Loss:0.10245201736688614, w:1.7853672504425049, b:0.48791056871414185
Epoch:107, Loss:0.1009797751903534, w:1.7869150638580322, b:0.48439186811447144
Epoch:108, Loss:0.09952855110168457, w:1.7884517908096313, b:0.48089855909347534
Epoch:109, Loss:0.0980982780456543, w:1.7899774312973022, b:0.47743043303489685
Epoch:110, Loss:0.09668833017349243, w:1.7914921045303345, b:0.47398731112480164
Epoch:111, Loss:0.09529877454042435, w:1.792995810508728, b:0.47056901454925537
Epoch:112, Loss:0.09392917901277542, w:1.7944886684417725, b:0.46717536449432373
Epoch:113, Loss:0.09257938712835312, w:1.7959707975387573, b:0.4638062119483948
Epoch:114, Loss:0.09124889969825745, w:1.7974421977996826, b:0.4604613482952118
Epoch:115, Loss:0.08993737399578094, w:1.7989031076431274, b:0.45714062452316284
Epoch:116, Loss:0.08864488452672958, w:1.8003534078598022, b:0.4538438022136688
Epoch:117, Loss:0.0873708575963974, w:1.8017932176589966, b:0.4505707621574402
Epoch:118, Loss:0.08611523360013962, w:1.80322265625, b:0.4473213255405426
Epoch:119, Loss:0.08487764745950699, w:1.8046417236328125, b:0.44409531354904175
Epoch:120, Loss:0.08365774154663086, w:1.8060506582260132, b:0.44089260697364807
Epoch:121, Loss:0.08245540410280228, w:1.8074493408203125, b:0.43771296739578247
Epoch:122, Loss:0.08127039670944214, w:1.8088380098342896, b:0.4345562756061554
Epoch:123, Loss:0.08010249584913254, w:1.8102165460586548, b:0.43142232298851013
Epoch:124, Loss:0.07895141839981079, w:1.8115851879119873, b:0.42831099033355713
Epoch:125, Loss:0.07781660556793213, w:1.8129440546035767, b:0.42522212862968445
Epoch:126, Loss:0.07669828832149506, w:1.8142930269241333, b:0.4221555292606354
Epoch:127, Loss:0.07559596002101898, w:1.8156323432922363, b:0.419111043214798
Epoch:128, Loss:0.07450950145721436, w:1.8169618844985962, b:0.4160884916782379
Epoch:129, Loss:0.073438860476017, w:1.818281888961792, b:0.41308775544166565
Epoch:130, Loss:0.07238329946994781, w:1.8195924758911133, b:0.41010865569114685
Epoch:131, Loss:0.07134295254945755, w:1.8208935260772705, b:0.4071510434150696
Epoch:132, Loss:0.07031768560409546, w:1.8221851587295532, b:0.4042147397994995
Epoch:133, Loss:0.06930718570947647, w:1.823467493057251, b:0.4012996256351471
Epoch:134, Loss:0.06831107288599014, w:1.8247406482696533, b:0.3984055519104004
Epoch:135, Loss:0.06732937693595886, w:1.8260046243667603, b:0.3955323398113251
Epoch:136, Loss:0.06636182963848114, w:1.8272594213485718, b:0.3926798403263092
Epoch:137, Loss:0.06540804356336594, w:1.8285051584243774, b:0.38984793424606323
Epoch:138, Loss:0.06446800380945206, w:1.8297419548034668, b:0.38703644275665283
Epoch:139, Loss:0.0635414719581604, w:1.8309698104858398, b:0.38424521684646606
Epoch:140, Loss:0.06262824684381485, w:1.8321888446807861, b:0.381474107503891
Epoch:141, Loss:0.06172814592719078, w:1.8333990573883057, b:0.37872299551963806
Epoch:142, Loss:0.06084105372428894, w:1.834600567817688, b:0.37599173188209534
Epoch:143, Loss:0.05996682122349739, w:1.835793375968933, b:0.3732801675796509
Epoch:144, Loss:0.059104882180690765, w:1.8369776010513306, b:0.37058815360069275
Epoch:145, Loss:0.05825548991560936, w:1.8381532430648804, b:0.367915540933609
Epoch:146, Loss:0.057418279349803925, w:1.839320421218872, b:0.3652622103691101
Epoch:147, Loss:0.05659317970275879, w:1.8404792547225952, b:0.3626280426979065
Epoch:148, Loss:0.05577976256608963, w:1.8416297435760498, b:0.36001285910606384
Epoch:149, Loss:0.054978106170892715, w:1.8427718877792358, b:0.3574165105819702
Epoch:150, Loss:0.054188072681427, w:1.8439058065414429, b:0.35483890771865845
Epoch:151, Loss:0.05340932309627533, w:1.845031499862671, b:0.3522798717021942
Epoch:152, Loss:0.05264173075556755, w:1.8461490869522095, b:0.34973931312561035
Epoch:153, Loss:0.05188501998782158, w:1.8472586870193481, b:0.34721705317497253
Epoch:154, Loss:0.05113939940929413, w:1.8483601808547974, b:0.3447130024433136
Epoch:155, Loss:0.050404567271471024, w:1.8494538068771362, b:0.3422269821166992
Epoch:156, Loss:0.04968003183603287, w:1.8505394458770752, b:0.33975890278816223
Epoch:157, Loss:0.048966184258461, w:1.8516173362731934, b:0.3373086452484131
Epoch:158, Loss:0.048262301832437515, w:1.8526874780654907, b:0.33487606048583984
Epoch:159, Loss:0.04756879433989525, w:1.8537498712539673, b:0.33246099948883057
Epoch:160, Loss:0.046885088086128235, w:1.8548046350479126, b:0.3300633430480957
Epoch:161, Loss:0.04621126502752304, w:1.8558517694473267, b:0.3276829719543457
Epoch:162, Loss:0.045547135174274445, w:1.8568912744522095, b:0.325319766998291
Epoch:163, Loss:0.04489258676767349, w:1.8579233884811401, b:0.3229736089706421
Epoch:164, Loss:0.04424736648797989, w:1.858947992324829, b:0.3206443786621094
Epoch:165, Loss:0.043611448258161545, w:1.859965205192566, b:0.3183319568634033
Epoch:166, Loss:0.04298483207821846, w:1.8609751462936401, b:0.3160362243652344
Epoch:167, Loss:0.042367007583379745, w:1.8619776964187622, b:0.3137570321559906
Epoch:168, Loss:0.04175809025764465, w:1.8629730939865112, b:0.31149429082870483
Epoch:169, Loss:0.04115792363882065, w:1.8639613389968872, b:0.3092478811740875
Epoch:170, Loss:0.04056647792458534, w:1.8649424314498901, b:0.30701765418052673
Epoch:171, Loss:0.03998347744345665, w:1.8659164905548096, b:0.3048034906387329
Epoch:172, Loss:0.0394088514149189, w:1.866883397102356, b:0.3026053011417389
Epoch:173, Loss:0.03884248435497284, w:1.8678433895111084, b:0.3004229664802551
Epoch:174, Loss:0.03828417882323265, w:1.868796467781067, b:0.29825636744499207
Epoch:175, Loss:0.03773411363363266, w:1.869742751121521, b:0.29610541462898254
Epoch:176, Loss:0.03719174489378929, w:1.8706821203231812, b:0.2939699590206146
Epoch:177, Loss:0.03665716201066971, w:1.871614694595337, b:0.29184991121292114
Epoch:178, Loss:0.0361303836107254, w:1.8725405931472778, b:0.28974515199661255
Epoch:179, Loss:0.03561120107769966, w:1.873459815979004, b:0.2876555621623993
Epoch:180, Loss:0.03509936109185219, w:1.8743723630905151, b:0.2855810523033142
Epoch:181, Loss:0.03459494933485985, w:1.875278353691101, b:0.28352150321006775
Epoch:182, Loss:0.03409773111343384, w:1.8761777877807617, b:0.28147682547569275
Epoch:183, Loss:0.03360774368047714, w:1.8770707845687866, b:0.27944687008857727
Epoch:184, Loss:0.03312472254037857, w:1.8779573440551758, b:0.27743154764175415
Epoch:185, Loss:0.032648734748363495, w:1.8788374662399292, b:0.2754307687282562
Epoch:186, Loss:0.032179441303014755, w:1.8797112703323364, b:0.27344441413879395
Epoch:187, Loss:0.031717050820589066, w:1.8805787563323975, b:0.27147239446640015
Epoch:188, Loss:0.03126123920083046, w:1.8814400434494019, b:0.2695145905017853
Epoch:189, Loss:0.030811907723546028, w:1.8822951316833496, b:0.2675709128379822
Epoch:190, Loss:0.030369102954864502, w:1.8831440210342407, b:0.2656412422657013
Epoch:191, Loss:0.029932618141174316, w:1.8839867115020752, b:0.26372548937797546
Epoch:192, Loss:0.029502473771572113, w:1.8848233222961426, b:0.2618235647678375
Epoch:193, Loss:0.029078463092446327, w:1.8856539726257324, b:0.2599353492259979
Epoch:194, Loss:0.028660476207733154, w:1.8864786624908447, b:0.2580607533454895
Epoch:195, Loss:0.0282486230134964, w:1.88729727268219, b:0.2561996579170227
Epoch:196, Loss:0.027842670679092407, w:1.8881100416183472, b:0.25435200333595276
Epoch:197, Loss:0.02744254469871521, w:1.8889169692993164, b:0.2525176703929901
Epoch:198, Loss:0.02704816684126854, w:1.8897180557250977, b:0.2506965696811676
Epoch:199, Loss:0.02665940299630165, w:1.8905134201049805, b:0.24888859689235687
Epoch:200, Loss:0.026276282966136932, w:1.8913030624389648, b:0.24709367752075195
Epoch:201, Loss:0.025898657739162445, w:1.8920869827270508, b:0.2453116923570633
Epoch:202, Loss:0.025526469573378563, w:1.8928651809692383, b:0.24354255199432373
Epoch:203, Loss:0.025159595534205437, w:1.893637776374817, b:0.2417861670255661
Epoch:204, Loss:0.024797985330224037, w:1.8944048881530762, b:0.24004246294498444
Epoch:205, Loss:0.024441620334982872, w:1.8951663970947266, b:0.23831132054328918
Epoch:206, Loss:0.024090413004159927, w:1.8959224224090576, b:0.23659268021583557
Epoch:207, Loss:0.02374415099620819, w:1.8966730833053589, b:0.23488642275333405
Epoch:208, Loss:0.023402860388159752, w:1.8974182605743408, b:0.23319245874881744
Epoch:209, Loss:0.02306654490530491, w:1.898158073425293, b:0.2315107136964798
Epoch:210, Loss:0.02273501642048359, w:1.8988925218582153, b:0.22984111309051514
Epoch:211, Loss:0.022408325225114822, w:1.8996217250823975, b:0.2281835377216339
Epoch:212, Loss:0.022086337208747864, w:1.9003455638885498, b:0.22653791308403015
Epoch:213, Loss:0.021768901497125626, w:1.9010642766952515, b:0.22490417957305908
Epoch:214, Loss:0.021456029266119003, w:1.901777744293213, b:0.22328221797943115
Epoch:215, Loss:0.02114763855934143, w:1.9024860858917236, b:0.2216719537973404
Epoch:216, Loss:0.0208437442779541, w:1.9031893014907837, b:0.22007329761981964
Epoch:217, Loss:0.02054416947066784, w:1.9038875102996826, b:0.21848617494106293
Epoch:218, Loss:0.02024891972541809, w:1.9045807123184204, b:0.21691051125526428
Epoch:219, Loss:0.019957836717367172, w:1.905268907546997, b:0.21534618735313416
Epoch:220, Loss:0.019671039655804634, w:1.9059520959854126, b:0.21379314363002777
Epoch:221, Loss:0.01938844658434391, w:1.906630277633667, b:0.21225130558013916
Epoch:222, Loss:0.019109778106212616, w:1.9073036909103394, b:0.21072059869766235
Epoch:223, Loss:0.01883513852953911, w:1.9079722166061401, b:0.209200918674469
Epoch:224, Loss:0.018564429134130478, w:1.9086358547210693, b:0.2076921910047531
Epoch:225, Loss:0.018297556787729263, w:1.9092947244644165, b:0.20619437098503113
Epoch:226, Loss:0.018034670501947403, w:1.9099488258361816, b:0.2047073394060135
Epoch:227, Loss:0.017775485292077065, w:1.9105982780456543, b:0.2032310515642166
Epoch:228, Loss:0.017519962042570114, w:1.9112430810928345, b:0.20176540315151215
Epoch:229, Loss:0.01726822927594185, w:1.9118831157684326, b:0.20031030476093292
Epoch:230, Loss:0.017020009458065033, w:1.9125186204910278, b:0.19886572659015656
Epoch:231, Loss:0.016775386407971382, w:1.9131494760513306, b:0.1974315494298935
Epoch:232, Loss:0.01653440296649933, w:1.9137758016586304, b:0.19600772857666016
Epoch:233, Loss:0.016296736896038055, w:1.9143975973129272, b:0.19459415972232819
Epoch:234, Loss:0.016062568873167038, w:1.9150149822235107, b:0.193190798163414
Epoch:235, Loss:0.01583164371550083, w:1.9156279563903809, b:0.19179756939411163
Epoch:236, Loss:0.015604157000780106, w:1.916236400604248, b:0.19041435420513153
Epoch:237, Loss:0.015379874035716057, w:1.9168404340744019, b:0.1890411227941513
Epoch:238, Loss:0.015158896334469318, w:1.9174401760101318, b:0.18767781555652618
Epoch:239, Loss:0.014940996654331684, w:1.918035626411438, b:0.1863243281841278
Epoch:240, Loss:0.014726296067237854, w:1.9186267852783203, b:0.1849806010723114
Epoch:241, Loss:0.014514628797769547, w:1.9192136526107788, b:0.183646559715271
Epoch:242, Loss:0.01430599670857191, w:1.9197962284088135, b:0.18232212960720062
Epoch:243, Loss:0.014100433327257633, w:1.9203746318817139, b:0.1810072511434555
Epoch:244, Loss:0.013897832483053207, w:1.92094886302948, b:0.17970186471939087
Epoch:245, Loss:0.013698064722120762, w:1.9215189218521118, b:0.17840588092803955
Epoch:246, Loss:0.013501147739589214, w:1.922084927558899, b:0.17711925506591797
Epoch:247, Loss:0.013307193294167519, w:1.9226468801498413, b:0.17584191262722015
Epoch:248, Loss:0.013115908950567245, w:1.923204779624939, b:0.17457377910614014
Epoch:249, Loss:0.012927409261465073, w:1.923758625984192, b:0.17331477999687195
Epoch:250, Loss:0.012741638347506523, w:1.9243084192276, b:0.1720648556947708
Epoch:251, Loss:0.012558523565530777, w:1.9248542785644531, b:0.17082394659519196
Epoch:252, Loss:0.012377986684441566, w:1.925396203994751, b:0.1695919930934906
Epoch:253, Loss:0.012200165539979935, w:1.9259341955184937, b:0.16836893558502197
Epoch:254, Loss:0.01202480960637331, w:1.9264683723449707, b:0.1671546995639801
Epoch:255, Loss:0.011851957067847252, w:1.9269986152648926, b:0.16594921052455902
Epoch:256, Loss:0.011681663803756237, w:1.9275250434875488, b:0.16475242376327515
Epoch:257, Loss:0.011513782665133476, w:1.928047776222229, b:0.1635642647743225
Epoch:258, Loss:0.011348347179591656, w:1.9285666942596436, b:0.16238467395305634
Epoch:259, Loss:0.01118522323668003, w:1.929081916809082, b:0.16121360659599304
Epoch:260, Loss:0.011024422012269497, w:1.9295933246612549, b:0.16005097329616547
Epoch:261, Loss:0.010866002179682255, w:1.9301010370254517, b:0.15889671444892883
Epoch:262, Loss:0.010709855705499649, w:1.930605173110962, b:0.15775078535079956
Epoch:263, Loss:0.010555924847722054, w:1.931105613708496, b:0.15661311149597168
Epoch:264, Loss:0.01040424220263958, w:1.9316024780273438, b:0.1554836481809616
Epoch:265, Loss:0.010254710912704468, w:1.9320957660675049, b:0.15436232089996338
Epoch:266, Loss:0.010107331909239292, w:1.9325854778289795, b:0.1532490849494934
Epoch:267, Loss:0.009962080977857113, w:1.9330716133117676, b:0.15214388072490692
Epoch:268, Loss:0.009818872436881065, w:1.9335542917251587, b:0.15104664862155914
Epoch:269, Loss:0.009677788242697716, w:1.9340335130691528, b:0.1499573290348053
Epoch:270, Loss:0.009538724087178707, w:1.93450927734375, b:0.1488758623600006
Epoch:271, Loss:0.009401568211615086, w:1.9349815845489502, b:0.1478022038936615
Epoch:272, Loss:0.009266525506973267, w:1.9354504346847534, b:0.146736279129982
Epoch:273, Loss:0.009133325889706612, w:1.9359159469604492, b:0.1456780582666397
Epoch:274, Loss:0.009002039209008217, w:1.9363781213760376, b:0.14462746679782867
Epoch:275, Loss:0.008872732520103455, w:1.9368369579315186, b:0.1435844451189041
Epoch:276, Loss:0.008745172061026096, w:1.937292456626892, b:0.14254894852638245
Epoch:277, Loss:0.008619464933872223, w:1.9377447366714478, b:0.1415209174156189
Epoch:278, Loss:0.008495636284351349, w:1.938193678855896, b:0.1405002921819687
Epoch:279, Loss:0.008373533375561237, w:1.9386394023895264, b:0.13948704302310944
Epoch:280, Loss:0.00825321301817894, w:1.9390819072723389, b:0.13848109543323517
Epoch:281, Loss:0.008134549483656883, w:1.9395211935043335, b:0.1374824047088623
Epoch:282, Loss:0.00801768247038126, w:1.9399573802947998, b:0.13649091124534607
Epoch:283, Loss:0.007902431301772594, w:1.9403904676437378, b:0.13550658524036407
Epoch:284, Loss:0.007788866758346558, w:1.940820336341858, b:0.13452933728694916
Epoch:285, Loss:0.007676908280700445, w:1.9412471055984497, b:0.13355913758277893
Epoch:286, Loss:0.007566599640995264, w:1.9416707754135132, b:0.1325959414243698
Epoch:287, Loss:0.007457878440618515, w:1.942091464996338, b:0.13163970410823822
Epoch:288, Loss:0.00735069066286087, w:1.9425090551376343, b:0.13069035112857819
Epoch:289, Loss:0.00724501209333539, w:1.942923665046692, b:0.12974783778190613
Epoch:290, Loss:0.0071409232914447784, w:1.9433352947235107, b:0.12881213426589966
Epoch:291, Loss:0.007038291078060865, w:1.9437439441680908, b:0.1278831660747528
Epoch:292, Loss:0.006937147118151188, w:1.9441496133804321, b:0.1269609034061432
Epoch:293, Loss:0.006837441585958004, w:1.9445524215698242, b:0.12604530155658722
Epoch:294, Loss:0.006739174481481314, w:1.944952368736267, b:0.12513630092144012
Epoch:295, Loss:0.00664233323186636, w:1.9453493356704712, b:0.12423384189605713
Epoch:296, Loss:0.0065468898974359035, w:1.945743441581726, b:0.12333788722753525
Epoch:297, Loss:0.006452753208577633, w:1.9461346864700317, b:0.1224484071135521
Epoch:298, Loss:0.006360046099871397, w:1.9465231895446777, b:0.12156534194946289
Epoch:299, Loss:0.006268657278269529, w:1.9469088315963745, b:0.12068863958120346
Epoch:300, Loss:0.00617857975885272, w:1.9472917318344116, b:0.11981827020645142
Epoch:301, Loss:0.006089757662266493, w:1.947671890258789, b:0.11895416676998138
Epoch:302, Loss:0.006002258509397507, w:1.9480493068695068, b:0.11809629201889038
Epoch:303, Loss:0.005915951449424028, w:1.948423981666565, b:0.11724460124969482
Epoch:304, Loss:0.005830944050103426, w:1.9487959146499634, b:0.11639904230833054
Epoch:305, Loss:0.005747178103774786, w:1.9491652250289917, b:0.11555959284305573
Epoch:306, Loss:0.0056645567528903484, w:1.9495317935943604, b:0.11472618579864502
Epoch:307, Loss:0.005583171732723713, w:1.9498957395553589, b:0.11389879882335663
Epoch:308, Loss:0.00550293643027544, w:1.9502570629119873, b:0.11307737976312637
Epoch:309, Loss:0.00542383873835206, w:1.9506158828735352, b:0.11226189881563187
Epoch:310, Loss:0.005345887504518032, w:1.9509719610214233, b:0.11145228147506714
Epoch:311, Loss:0.005269023589789867, w:1.951325535774231, b:0.110648512840271
Epoch:312, Loss:0.005193320102989674, w:1.951676607131958, b:0.10985053330659866
Epoch:313, Loss:0.0051186587661504745, w:1.952025055885315, b:0.10905830562114716
Epoch:314, Loss:0.005045133642852306, w:1.9523710012435913, b:0.10827179998159409
Epoch:315, Loss:0.004972586873918772, w:1.9527145624160767, b:0.10749097913503647
Epoch:316, Loss:0.004901122767478228, w:1.9530556201934814, b:0.10671577602624893
Epoch:317, Loss:0.004830685444176197, w:1.9533941745758057, b:0.10594615340232849
Epoch:318, Loss:0.004761263728141785, w:1.9537302255630493, b:0.10518208146095276
Epoch:319, Loss:0.004692858085036278, w:1.954063892364502, b:0.10442353039979935
Epoch:320, Loss:0.004625413566827774, w:1.9543951749801636, b:0.10367045551538467
Epoch:321, Loss:0.004558964632451534, w:1.9547240734100342, b:0.10292280465364456
Epoch:322, Loss:0.004493428394198418, w:1.9550505876541138, b:0.10218054801225662
Epoch:323, Loss:0.004428827203810215, w:1.9553747177124023, b:0.10144364088773727
Epoch:324, Loss:0.004365204833447933, w:1.9556965827941895, b:0.10071205347776413
Epoch:325, Loss:0.004302477464079857, w:1.9560160636901855, b:0.0999857485294342
Epoch:326, Loss:0.00424063578248024, w:1.9563332796096802, b:0.09926468133926392
Epoch:327, Loss:0.004179677460342646, w:1.9566482305526733, b:0.09854879975318909
Epoch:328, Loss:0.004119612276554108, w:1.956960916519165, b:0.09783808887004852
Epoch:329, Loss:0.004060408100485802, w:1.9572713375091553, b:0.09713249653577805
Epoch:330, Loss:0.004002055153250694, w:1.957579493522644, b:0.09643198549747467
Epoch:331, Loss:0.0039445445872843266, w:1.9578853845596313, b:0.09573652595281601
Epoch:332, Loss:0.0038878528866916895, w:1.9581891298294067, b:0.09504608064889908
Epoch:333, Loss:0.0038319453597068787, w:1.9584906101226807, b:0.09436061233282089
Epoch:334, Loss:0.0037768969777971506, w:1.9587899446487427, b:0.09368009120225906
Epoch:335, Loss:0.0037226227577775717, w:1.9590871334075928, b:0.0930044949054718
Epoch:336, Loss:0.0036690973211079836, w:1.959382176399231, b:0.09233376383781433
Epoch:337, Loss:0.0036163856275379658, w:1.9596750736236572, b:0.09166788309812546
Epoch:338, Loss:0.0035643992014229298, w:1.9599659442901611, b:0.0910068079829216
Epoch:339, Loss:0.0035131750628352165, w:1.9602546691894531, b:0.09035048633813858
Epoch:340, Loss:0.0034626948181539774, w:1.9605412483215332, b:0.0896988958120346
Epoch:341, Loss:0.0034129396080970764, w:1.960825800895691, b:0.08905202150344849
Epoch:342, Loss:0.0033638719469308853, w:1.9611083269119263, b:0.08840980380773544
Epoch:343, Loss:0.0033155176788568497, w:1.9613888263702393, b:0.08777221292257309
Epoch:344, Loss:0.003267875639721751, w:1.9616672992706299, b:0.08713921159505844
Epoch:345, Loss:0.0032209313940256834, w:1.9619437456130981, b:0.0865107849240303
Epoch:346, Loss:0.0031746351160109043, w:1.962218165397644, b:0.0858868882060051
Epoch:347, Loss:0.003128995653241873, w:1.9624906778335571, b:0.08526749908924103
Epoch:348, Loss:0.0030840481631457806, w:1.9627611637115479, b:0.08465257287025452
Epoch:349, Loss:0.003039746778085828, w:1.9630297422409058, b:0.08404207974672318
Epoch:350, Loss:0.002996039343997836, w:1.9632964134216309, b:0.08343598246574402
Epoch:351, Loss:0.0029529801104217768, w:1.9635610580444336, b:0.08283425122499466
Epoch:352, Loss:0.0029105371795594692, w:1.9638237953186035, b:0.0822368711233139
Epoch:353, Loss:0.002868709620088339, w:1.9640847444534302, b:0.08164381235837936
Epoch:354, Loss:0.0028274846263229847, w:1.964343786239624, b:0.08105501532554626
Epoch:355, Loss:0.0027868468314409256, w:1.964600920677185, b:0.08047045767307281
Epoch:356, Loss:0.0027467829640954733, w:1.9648562669754028, b:0.07989012449979782
Epoch:357, Loss:0.0027073302771896124, w:1.9651097059249878, b:0.0793139636516571
Epoch:358, Loss:0.0026684270706027746, w:1.9653613567352295, b:0.07874196767807007
Epoch:359, Loss:0.0026300442405045033, w:1.9656111001968384, b:0.07817408442497253
Epoch:360, Loss:0.002592256059870124, w:1.965859055519104, b:0.0776103138923645
Epoch:361, Loss:0.002555029233917594, w:1.9661052227020264, b:0.0770506039261818
Epoch:362, Loss:0.002518284833058715, w:1.966349720954895, b:0.07649493962526321
Epoch:363, Loss:0.0024820903781801462, w:1.9665924310684204, b:0.07594326883554459
Epoch:364, Loss:0.0024464167654514313, w:1.9668333530426025, b:0.07539557665586472
Epoch:365, Loss:0.0024112584069371223, w:1.9670724868774414, b:0.07485183328390121
Epoch:366, Loss:0.0023766066879034042, w:1.9673099517822266, b:0.07431202381849289
Epoch:367, Loss:0.0023424364626407623, w:1.967545747756958, b:0.07377610355615616
Epoch:368, Loss:0.0023087793961167336, w:1.9677797555923462, b:0.07324404269456863
Epoch:369, Loss:0.0022756012622267008, w:1.9680120944976807, b:0.07271583378314972
Epoch:370, Loss:0.0022429111413657665, w:1.9682427644729614, b:0.07219143211841583
Epoch:371, Loss:0.00221065990626812, w:1.9684717655181885, b:0.07167081534862518
Epoch:372, Loss:0.0021788999438285828, w:1.9686990976333618, b:0.07115394622087479
Epoch:373, Loss:0.002147599123418331, w:1.968924880027771, b:0.07064080983400345
Epoch:374, Loss:0.002116746734827757, w:1.9691489934921265, b:0.07013136893510818
Epoch:375, Loss:0.002086327178403735, w:1.9693715572357178, b:0.0696256086230278
Epoch:376, Loss:0.0020563334692269564, w:1.9695924520492554, b:0.06912349909543991
Epoch:377, Loss:0.002026790054515004, w:1.9698117971420288, b:0.06862500309944153
Epoch:378, Loss:0.001997650135308504, w:1.9700294733047485, b:0.06813008338212967
Epoch:379, Loss:0.001968914410099387, w:1.970245599746704, b:0.06763873249292374
Epoch:380, Loss:0.0019406178034842014, w:1.9704601764678955, b:0.06715092808008194
Epoch:381, Loss:0.0019127546111121774, w:1.9706732034683228, b:0.06666664034128189
Epoch:382, Loss:0.0018852570792660117, w:1.9708846807479858, b:0.0661858469247818
Epoch:383, Loss:0.0018581516342237592, w:1.9710947275161743, b:0.06570854038000107
Epoch:384, Loss:0.001831448869779706, w:1.9713032245635986, b:0.06523466110229492
Epoch:385, Loss:0.0018051371444016695, w:1.9715101718902588, b:0.06476418673992157
Epoch:386, Loss:0.0017791824648156762, w:1.9717155694961548, b:0.06429711729288101
Epoch:387, Loss:0.0017536348896101117, w:1.9719195365905762, b:0.06383342295885086
Epoch:388, Loss:0.001728417119011283, w:1.972122073173523, b:0.06337308138608932
Epoch:389, Loss:0.0017035859636962414, w:1.9723231792449951, b:0.06291605532169342
Epoch:390, Loss:0.0016791014932096004, w:1.9725227355957031, b:0.06246230751276016
Epoch:391, Loss:0.0016549901338294148, w:1.9727208614349365, b:0.06201183795928955
Epoch:392, Loss:0.0016311825020238757, w:1.9729176759719849, b:0.06156463176012039
Epoch:393, Loss:0.001607752637937665, w:1.973112940788269, b:0.06112063303589821
Epoch:394, Loss:0.0015846288297325373, w:1.9733068943023682, b:0.0606798455119133
Epoch:395, Loss:0.0015618654433637857, w:1.9734994173049927, b:0.060242217034101486
Epoch:396, Loss:0.001539414981380105, w:1.9736905097961426, b:0.05980774760246277
Epoch:397, Loss:0.001517297001555562, w:1.9738802909851074, b:0.059376418590545654
Epoch:398, Loss:0.001495491829700768, w:1.9740686416625977, b:0.058948203921318054
Epoch:399, Loss:0.001473978511057794, w:1.9742556810379028, b:0.05852308124303818
Epoch:400, Loss:0.0014528073370456696, w:1.9744412899017334, b:0.05810101330280304
Epoch:401, Loss:0.0014319298788905144, w:1.974625587463379, b:0.05768199637532234
Epoch:402, Loss:0.0014113521901890635, w:1.9748085737228394, b:0.057266004383563995
Epoch:403, Loss:0.0013910731067880988, w:1.9749902486801147, b:0.05685301125049591
Epoch:404, Loss:0.001371067832224071, w:1.975170612335205, b:0.05644300580024719
Epoch:405, Loss:0.0013513632584363222, w:1.9753496646881104, b:0.05603594332933426
Epoch:406, Loss:0.0013319478603079915, w:1.9755274057388306, b:0.05563182011246681
Epoch:407, Loss:0.001312814187258482, w:1.9757039546966553, b:0.055230624973773956
Epoch:408, Loss:0.001293929759413004, w:1.975879192352295, b:0.05483231693506241
Epoch:409, Loss:0.0012753502232953906, w:1.9760531187057495, b:0.05443686991930008
Epoch:410, Loss:0.00125701236538589, w:1.9762258529663086, b:0.054044291377067566
Epoch:411, Loss:0.0012389484327286482, w:1.9763972759246826, b:0.05365453287959099
Epoch:412, Loss:0.0012211310677230358, w:1.9765675067901611, b:0.05326759070158005
Epoch:413, Loss:0.0012035859981551766, w:1.9767365455627441, b:0.05288343504071236
Epoch:414, Loss:0.0011862940154969692, w:1.976904273033142, b:0.05250203609466553
Epoch:415, Loss:0.0011692384723573923, w:1.9770708084106445, b:0.052123405039310455
Epoch:416, Loss:0.0011524506844580173, w:1.9772361516952515, b:0.05174750089645386
Epoch:417, Loss:0.0011358860647305846, w:1.977400302886963, b:0.051374319940805435
Epoch:418, Loss:0.0011195560218766332, w:1.9775632619857788, b:0.05100381746888161
Epoch:419, Loss:0.0011034661438316107, w:1.9777251482009888, b:0.05063600093126297
Epoch:420, Loss:0.0010876018786802888, w:1.9778858423233032, b:0.05027082562446594
Epoch:421, Loss:0.00107198569457978, w:1.9780453443527222, b:0.049908265471458435
Epoch:422, Loss:0.001056576962582767, w:1.9782036542892456, b:0.049548327922821045
Epoch:423, Loss:0.0010413924464955926, w:1.978360891342163, b:0.04919099435210228
Epoch:424, Loss:0.0010264258598908782, w:1.978516936302185, b:0.04883623123168945
Epoch:425, Loss:0.0010116728954017162, w:1.978671908378601, b:0.04848403111100197
Epoch:426, Loss:0.0009971315739676356, w:1.9788256883621216, b:0.048134367913007736
Epoch:427, Loss:0.0009827883914113045, w:1.9789783954620361, b:0.04778721556067467
Epoch:428, Loss:0.0009686739649623632, w:1.9791299104690552, b:0.04744257032871246
Epoch:429, Loss:0.0009547549998387694, w:1.9792804718017578, b:0.04710042476654053
Epoch:430, Loss:0.000941029516980052, w:1.979429841041565, b:0.04676073417067528
Epoch:431, Loss:0.0009274955955334008, w:1.9795782566070557, b:0.04642350971698761
Epoch:432, Loss:0.0009141810005530715, w:1.9797254800796509, b:0.04608870670199394
Epoch:433, Loss:0.0009010341018438339, w:1.9798716306686401, b:0.04575631767511368
Epoch:434, Loss:0.000888077775016427, w:1.980016827583313, b:0.045426350086927414
Epoch:435, Loss:0.0008753202273510396, w:1.9801609516143799, b:0.04509875178337097
Epoch:436, Loss:0.0008627421921119094, w:1.9803040027618408, b:0.04477350413799286
Epoch:437, Loss:0.0008503415156155825, w:1.9804459810256958, b:0.04445060342550278
Epoch:438, Loss:0.0008381333318538964, w:1.9805870056152344, b:0.04413004592061043
Epoch:439, Loss:0.0008260936010628939, w:1.9807270765304565, b:0.04381180927157402
Epoch:440, Loss:0.0008142090518958867, w:1.9808660745620728, b:0.04349584877490997
Epoch:441, Loss:0.0008025093702599406, w:1.9810041189193726, b:0.04318217188119888
Epoch:442, Loss:0.0007909793639555573, w:1.9811410903930664, b:0.042870745062828064
Epoch:443, Loss:0.000779610825702548, w:1.9812771081924438, b:0.04256157949566841
Epoch:444, Loss:0.0007684019510634243, w:1.9814121723175049, b:0.042254626750946045
Epoch:445, Loss:0.0007573733455501497, w:1.98154616355896, b:0.04194989055395126
Epoch:446, Loss:0.0007464721566066146, w:1.9816793203353882, b:0.04164736717939377
Epoch:447, Loss:0.0007357430877164006, w:1.9818114042282104, b:0.04134701192378998
Epoch:448, Loss:0.0007251746719703078, w:1.9819425344467163, b:0.04104883223772049
Epoch:449, Loss:0.0007147510186769068, w:1.9820727109909058, b:0.040752798318862915
Epoch:450, Loss:0.000704484642483294, w:1.9822020530700684, b:0.040458910167217255
Epoch:451, Loss:0.0006943508633412421, w:1.9823304414749146, b:0.04016713798046112
Epoch:452, Loss:0.0006843816372565925, w:1.9824578762054443, b:0.03987744823098183
Epoch:453, Loss:0.0006745373830199242, w:1.9825843572616577, b:0.039589863270521164
Epoch:454, Loss:0.0006648484850302339, w:1.9827100038528442, b:0.03930435702204704
Epoch:455, Loss:0.0006552906124852598, w:1.9828346967697144, b:0.03902089223265648
Epoch:456, Loss:0.0006458698771893978, w:1.982958436012268, b:0.03873947635293007
Epoch:457, Loss:0.0006365863955579698, w:1.983081340789795, b:0.03846008703112602
Epoch:458, Loss:0.000627439992967993, w:1.9832032918930054, b:0.03818271681666374
Epoch:459, Loss:0.0006184291560202837, w:1.983324408531189, b:0.03790736570954323
Epoch:460, Loss:0.0006095366552472115, w:1.9834446907043457, b:0.0376339890062809
Epoch:461, Loss:0.0006007840274833143, w:1.9835641384124756, b:0.03736259415745735
Epoch:462, Loss:0.0005921457195654511, w:1.983682632446289, b:0.0370931476354599
Epoch:463, Loss:0.0005836316850036383, w:1.9838002920150757, b:0.03682564198970795
Epoch:464, Loss:0.0005752574652433395, w:1.9839171171188354, b:0.03656007722020149
Epoch:465, Loss:0.0005669796955771744, w:1.9840331077575684, b:0.03629641607403755
Epoch:466, Loss:0.0005588251515291631, w:1.9841482639312744, b:0.036034662276506424
Epoch:467, Loss:0.0005508033791556954, w:1.9842625856399536, b:0.03577478975057602
Epoch:468, Loss:0.000542888417840004, w:1.984376072883606, b:0.03551678732037544
Epoch:469, Loss:0.0005350791034288704, w:1.9844887256622314, b:0.0352606438100338
Epoch:470, Loss:0.0005273891147226095, w:1.98460054397583, b:0.03500635176897049
Epoch:471, Loss:0.0005198118160478771, w:1.9847116470336914, b:0.03475390002131462
Epoch:472, Loss:0.0005123393493704498, w:1.9848219156265259, b:0.034503273665905
Epoch:473, Loss:0.0005049797473475337, w:1.9849313497543335, b:0.03425443917512894
Epoch:474, Loss:0.0004977227654308081, w:1.9850400686264038, b:0.03400741517543793
Epoch:475, Loss:0.0004905748646706343, w:1.9851479530334473, b:0.033762164413928986
Epoch:476, Loss:0.00048351840814575553, w:1.9852551221847534, b:0.03351868689060211
Epoch:477, Loss:0.00047656884999014437, w:1.9853614568710327, b:0.03327695280313492
Epoch:478, Loss:0.00046971748815849423, w:1.9854670763015747, b:0.0330369658768177
Epoch:479, Loss:0.00046297203516587615, w:1.9855718612670898, b:0.03279868885874748
Epoch:480, Loss:0.0004563101683743298, w:1.9856759309768677, b:0.03256214037537575
Epoch:481, Loss:0.0004497643676586449, w:1.9857791662216187, b:0.03232729807496071
Epoch:482, Loss:0.00044330014497973025, w:1.9858816862106323, b:0.032094161957502365
Epoch:483, Loss:0.00043691674363799393, w:1.9859834909439087, b:0.031862713396549225
Epoch:484, Loss:0.00043064841884188354, w:1.9860845804214478, b:0.031632933765649796
Epoch:485, Loss:0.000424456549808383, w:1.9861849546432495, b:0.031404800713062286
Epoch:486, Loss:0.0004183558630757034, w:1.986284613609314, b:0.031178317964076996
Epoch:487, Loss:0.00041234539821743965, w:1.9863835573196411, b:0.030953465029597282
Epoch:488, Loss:0.00040640891529619694, w:1.986481785774231, b:0.030730223283171654
Epoch:489, Loss:0.00040058180456981063, w:1.9865792989730835, b:0.030508598312735558
Epoch:490, Loss:0.00039481755811721087, w:1.9866760969161987, b:0.030288565903902054
Epoch:491, Loss:0.0003891398082487285, w:1.9867721796035767, b:0.030070122331380844
Epoch:492, Loss:0.0003835453244391829, w:1.9868675470352173, b:0.029853247106075287
Epoch:493, Loss:0.00037804446765221655, w:1.9869621992111206, b:0.02963794581592083
Epoch:494, Loss:0.00037260580575093627, w:1.9870562553405762, b:0.029424209147691727
Epoch:495, Loss:0.0003672589373309165, w:1.9871495962142944, b:0.02921200729906559
Epoch:496, Loss:0.0003619717026595026, w:1.9872422218322754, b:0.029001330956816673
Epoch:497, Loss:0.00035676785046234727, w:1.9873342514038086, b:0.028792189434170723
Epoch:498, Loss:0.00035164743894711137, w:1.9874255657196045, b:0.028584541752934456
Epoch:499, Loss:0.0003465889603830874, w:1.9875162839889526, b:0.028378410264849663
Epoch:500, Loss:0.0003416015242692083, w:1.9876062870025635, b:0.02817375585436821
Epoch:501, Loss:0.00033669715048745275, w:1.9876956939697266, b:0.027970565482974052
Epoch:502, Loss:0.0003318642557132989, w:1.9877843856811523, b:0.02776883915066719
Epoch:503, Loss:0.00032709367224015296, w:1.9878724813461304, b:0.027568591758608818
Epoch:504, Loss:0.00032238790299743414, w:1.9879599809646606, b:0.027369774878025055
Epoch:505, Loss:0.0003177545440848917, w:1.9880467653274536, b:0.027172382920980453
Epoch:506, Loss:0.0003131876583211124, w:1.9881329536437988, b:0.02697642147541046
Epoch:507, Loss:0.00030868244357407093, w:1.9882185459136963, b:0.026781877502799034
Epoch:508, Loss:0.00030425447039306164, w:1.988303542137146, b:0.02658873051404953
Epoch:509, Loss:0.00029988365713506937, w:1.988387942314148, b:0.02639698050916195
Epoch:510, Loss:0.000295579491648823, w:1.9884717464447021, b:0.026206618174910545
Epoch:511, Loss:0.0002913213102146983, w:1.988554835319519, b:0.02601761929690838
Epoch:512, Loss:0.00028714031213894486, w:1.9886373281478882, b:0.025829989463090897
Epoch:513, Loss:0.00028300913982093334, w:1.9887193441390991, b:0.025643717497587204
Epoch:514, Loss:0.0002789369900710881, w:1.9888006448745728, b:0.025458775460720062
Epoch:515, Loss:0.00027493195375427604, w:1.9888814687728882, b:0.025275174528360367
Epoch:516, Loss:0.0002709788968786597, w:1.9889616966247559, b:0.025092894211411476
Epoch:517, Loss:0.0002670943213161081, w:1.9890412092208862, b:0.02491191029548645
Epoch:518, Loss:0.0002632576215546578, w:1.9891202449798584, b:0.02473224699497223
Epoch:519, Loss:0.0002594646066427231, w:1.9891986846923828, b:0.024553891271352768
Epoch:520, Loss:0.00025574187748134136, w:1.989276647567749, b:0.024376822635531425
Epoch:521, Loss:0.00025206635473296046, w:1.9893540143966675, b:0.02420101687312126
Epoch:522, Loss:0.00024844403378665447, w:1.9894307851791382, b:0.024026475846767426
Epoch:523, Loss:0.0002448670275043696, w:1.9895069599151611, b:0.02385319396853447
Epoch:524, Loss:0.00024134304840117693, w:1.9895826578140259, b:0.0236811563372612
Epoch:525, Loss:0.00023787960526533425, w:1.9896577596664429, b:0.023510372266173363
Epoch:526, Loss:0.00023446252453140914, w:1.9897323846817017, b:0.023340823128819466
Epoch:527, Loss:0.0002310869749635458, w:1.9898064136505127, b:0.02317248471081257
Epoch:528, Loss:0.00022777014237362891, w:1.9898799657821655, b:0.023005368188023567
Epoch:529, Loss:0.0002244964416604489, w:1.9899529218673706, b:0.02283945307135582
Epoch:530, Loss:0.00022127410920802504, w:1.9900254011154175, b:0.022674739360809326
Epoch:531, Loss:0.00021809054305776954, w:1.9900972843170166, b:0.022511212155222893
Epoch:532, Loss:0.0002149513311451301, w:1.9901686906814575, b:0.02234886772930622
Epoch:533, Loss:0.000211867896723561, w:1.9902396202087402, b:0.022187696769833565
Epoch:534, Loss:0.0002088226901832968, w:1.9903099536895752, b:0.02202768065035343
Epoch:535, Loss:0.00020582624711096287, w:1.990379810333252, b:0.02186882682144642
Epoch:536, Loss:0.00020285889331717044, w:1.9904491901397705, b:0.02171112224459648
Epoch:537, Loss:0.00019994762260466814, w:1.9905180931091309, b:0.02155453898012638
Epoch:538, Loss:0.0001970704470295459, w:1.990586519241333, b:0.02139909937977791
Epoch:539, Loss:0.00019424410129431635, w:1.9906543493270874, b:0.021244771778583527
Epoch:540, Loss:0.00019145024998579174, w:1.9907217025756836, b:0.021091559901833534
Epoch:541, Loss:0.000188695004908368, w:1.9907886981964111, b:0.02093946747481823
Epoch:542, Loss:0.00018598907627165318, w:1.990855097770691, b:0.02078845724463463
Epoch:543, Loss:0.00018331447790842503, w:1.9909210205078125, b:0.020638534799218178
Epoch:544, Loss:0.00018068350618705153, w:1.9909864664077759, b:0.020489703863859177
Epoch:545, Loss:0.0001780870370566845, w:1.991051435470581, b:0.020341936498880386
Epoch:546, Loss:0.00017552325152792037, w:1.9911160469055176, b:0.020195256918668747
Epoch:547, Loss:0.00017300480976700783, w:1.9911800622940063, b:0.020049607381224632
Epoch:548, Loss:0.0001705152099020779, w:1.9912437200546265, b:0.01990501582622528
Epoch:549, Loss:0.0001680617278907448, w:1.9913069009780884, b:0.019761472940444946
Epoch:550, Loss:0.00016564848192501813, w:1.991369605064392, b:0.019618956372141838
Epoch:551, Loss:0.00016327052435372025, w:1.9914318323135376, b:0.019477473571896553
Epoch:552, Loss:0.00016092375153675675, w:1.991493582725525, b:0.0193370021879673
Epoch:553, Loss:0.0001586122962180525, w:1.9915549755096436, b:0.019197551533579826
Epoch:554, Loss:0.00015632700524292886, w:1.991615891456604, b:0.019059112295508385
Epoch:555, Loss:0.0001540821249363944, w:1.9916763305664062, b:0.018921658396720886
Epoch:556, Loss:0.00015187280951067805, w:1.9917362928390503, b:0.01878519169986248
Epoch:557, Loss:0.00014969083713367581, w:1.9917958974838257, b:0.018649732694029808
Epoch:558, Loss:0.00014753948198631406, w:1.9918551445007324, b:0.018515245988965034
Epoch:559, Loss:0.00014541632845066488, w:1.991913914680481, b:0.018381716683506966
Epoch:560, Loss:0.00014332178398035467, w:1.9919722080230713, b:0.018249141052365303
Epoch:561, Loss:0.00014126455062069, w:1.992030143737793, b:0.018117528408765793
Epoch:562, Loss:0.00013923179358243942, w:1.9920876026153564, b:0.01798686571419239
Epoch:563, Loss:0.00013723556185141206, w:1.9921447038650513, b:0.0178571417927742
Epoch:564, Loss:0.0001352618564851582, w:1.992201328277588, b:0.017728343605995178
Epoch:565, Loss:0.00013331856462173164, w:1.9922575950622559, b:0.01760048419237137
Epoch:566, Loss:0.00013139932707417756, w:1.9923133850097656, b:0.01747354120016098
Epoch:567, Loss:0.00012951319513376802, w:1.9923688173294067, b:0.017347518354654312
Epoch:568, Loss:0.00012765645806211978, w:1.9924238920211792, b:0.017222410067915916
Epoch:569, Loss:0.00012581574264913797, w:1.9924784898757935, b:0.017098193988204002
Epoch:570, Loss:0.00012400976265780628, w:1.992532730102539, b:0.01697487384080887
Epoch:571, Loss:0.00012222584336996078, w:1.992586612701416, b:0.016852451488375664
Epoch:572, Loss:0.00012047334166709334, w:1.9926400184631348, b:0.016730915755033493
Epoch:573, Loss:0.00011873984476551414, w:1.9926930665969849, b:0.01661026105284691
Epoch:574, Loss:0.00011703713971655816, w:1.9927457571029663, b:0.016490474343299866
Epoch:575, Loss:0.00011534611985553056, w:1.992798089981079, b:0.016371551901102066
Epoch:576, Loss:0.00011369529238436371, w:1.9928500652313232, b:0.016253476962447166
Epoch:577, Loss:0.00011206191265955567, w:1.9929016828536987, b:0.01613626629114151
Epoch:578, Loss:0.00011044767597923055, w:1.992952823638916, b:0.01601989008486271
Epoch:579, Loss:0.00010886456584557891, w:1.9930036067962646, b:0.015904361382126808
Epoch:580, Loss:0.00010729709902079776, w:1.9930540323257446, b:0.015789667144417763
Epoch:581, Loss:0.00010575355554465204, w:1.993104100227356, b:0.015675803646445274
Epoch:582, Loss:0.00010423484491184354, w:1.9931538105010986, b:0.015562755055725574
Epoch:583, Loss:0.00010273713996866718, w:1.9932031631469727, b:0.015450536273419857
Epoch:584, Loss:0.00010126256529474631, w:1.9932522773742676, b:0.015339127741754055
Epoch:585, Loss:9.980446338886395e-05, w:1.9933009147644043, b:0.01522851549088955
Epoch:586, Loss:9.837248944677413e-05, w:1.9933491945266724, b:0.01511868555098772
Epoch:587, Loss:9.695889457361773e-05, w:1.9933971166610718, b:0.015009656548500061
Epoch:588, Loss:9.55651921685785e-05, w:1.993444800376892, b:0.014901419170200825
Epoch:589, Loss:9.419002890354022e-05, w:1.9934921264648438, b:0.01479395478963852
Epoch:590, Loss:9.283660619985312e-05, w:1.9935390949249268, b:0.014687267132103443
Epoch:591, Loss:9.150299592874944e-05, w:1.9935857057571411, b:0.014581342227756977
Epoch:592, Loss:9.018508717417717e-05, w:1.9936319589614868, b:0.014476175419986248
Epoch:593, Loss:8.889485616236925e-05, w:1.9936778545379639, b:0.014371766708791256
Epoch:594, Loss:8.761606295593083e-05, w:1.9937233924865723, b:0.014268117025494576
Epoch:595, Loss:8.635304402559996e-05, w:1.9937686920166016, b:0.014165230095386505
Epoch:596, Loss:8.51136792334728e-05, w:1.9938136339187622, b:0.014063067734241486
Epoch:597, Loss:8.389072172576562e-05, w:1.9938582181930542, b:0.013961649499833584
Epoch:598, Loss:8.268560486612841e-05, w:1.993902564048767, b:0.013860965147614479
Epoch:599, Loss:8.149707718985155e-05, w:1.9939465522766113, b:0.013760996051132679
Epoch:600, Loss:8.032444748096168e-05, w:1.993990182876587, b:0.013661746867001057
Epoch:601, Loss:7.917221228126436e-05, w:1.9940334558486938, b:0.013563208281993866
Epoch:602, Loss:7.80354966991581e-05, w:1.9940764904022217, b:0.013465394265949726
Epoch:603, Loss:7.691159407841042e-05, w:1.9941192865371704, b:0.013368295505642891
Epoch:604, Loss:7.580698002129793e-05, w:1.9941617250442505, b:0.013271884061396122
Epoch:605, Loss:7.471638673450798e-05, w:1.994203805923462, b:0.013176159001886845
Epoch:606, Loss:7.364367047557607e-05, w:1.9942456483840942, b:0.013081135228276253
Epoch:607, Loss:7.258465484483168e-05, w:1.994287133216858, b:0.012986783869564533
Epoch:608, Loss:7.154412742238492e-05, w:1.994328260421753, b:0.012893118895590305
Epoch:609, Loss:7.051062857499346e-05, w:1.9943691492080688, b:0.012800140306353569
Epoch:610, Loss:6.950016540940851e-05, w:1.9944097995758057, b:0.012707834132015705
Epoch:611, Loss:6.850083445897326e-05, w:1.9944500923156738, b:0.012616186402738094
Epoch:612, Loss:6.751877663191408e-05, w:1.994490146636963, b:0.012525205500423908
Epoch:613, Loss:6.654380558757111e-05, w:1.9945298433303833, b:0.012434878386557102
Epoch:614, Loss:6.559100438607857e-05, w:1.9945693016052246, b:0.012345204129815102
Epoch:615, Loss:6.464739271905273e-05, w:1.9946084022521973, b:0.012256168760359287
Epoch:616, Loss:6.371481867972761e-05, w:1.9946472644805908, b:0.012167791835963726
Epoch:617, Loss:6.280282832449302e-05, w:1.9946858882904053, b:0.012080044485628605
Epoch:618, Loss:6.19001584709622e-05, w:1.9947242736816406, b:0.01199293602257967
Epoch:619, Loss:6.101083636167459e-05, w:1.9947623014450073, b:0.011906446889042854
Epoch:620, Loss:6.013246456859633e-05, w:1.994800090789795, b:0.011820582672953606
Epoch:621, Loss:5.927253369009122e-05, w:1.9948375225067139, b:0.011735329404473305
Epoch:622, Loss:5.841969687025994e-05, w:1.9948748350143433, b:0.01165070477873087
Epoch:623, Loss:5.757921462645754e-05, w:1.994911789894104, b:0.011566686443984509
Epoch:624, Loss:5.675139254890382e-05, w:1.9949485063552856, b:0.011483264155685902
Epoch:625, Loss:5.5934775446075946e-05, w:1.9949848651885986, b:0.011400442570447922
Epoch:626, Loss:5.512926873052493e-05, w:1.995021104812622, b:0.011318235658109188
Epoch:627, Loss:5.4338164773071185e-05, w:1.9950569868087769, b:0.011236606165766716
Epoch:628, Loss:5.355661778594367e-05, w:1.9950926303863525, b:0.011155577376484871
Epoch:629, Loss:5.279044125927612e-05, w:1.9951280355453491, b:0.01107512041926384
Epoch:630, Loss:5.20260218763724e-05, w:1.9951632022857666, b:0.010995250195264816
Epoch:631, Loss:5.12850601808168e-05, w:1.9951980113983154, b:0.01091594249010086
Epoch:632, Loss:5.0544884288683534e-05, w:1.9952327013015747, b:0.010837235487997532
Epoch:633, Loss:4.9818285333458334e-05, w:1.9952670335769653, b:0.010759077034890652
Epoch:634, Loss:4.9102654884336516e-05, w:1.9953011274337769, b:0.010681490413844585
Epoch:635, Loss:4.839948451262899e-05, w:1.9953349828720093, b:0.010604467242956161
Epoch:636, Loss:4.769978113472462e-05, w:1.9953685998916626, b:0.010528001934289932
Epoch:637, Loss:4.70151353511028e-05, w:1.9954019784927368, b:0.010452089831233025
Epoch:638, Loss:4.63413744000718e-05, w:1.995435118675232, b:0.010376720689237118
Epoch:639, Loss:4.567522773868404e-05, w:1.995468020439148, b:0.01030190009623766
Epoch:640, Loss:4.501741932472214e-05, w:1.9955008029937744, b:0.010227623395621777
Epoch:641, Loss:4.436941526364535e-05, w:1.9955332279205322, b:0.010153861716389656
Epoch:642, Loss:4.373264528112486e-05, w:1.995565414428711, b:0.010080642998218536
Epoch:643, Loss:4.310505391913466e-05, w:1.9955973625183105, b:0.0100079495459795
Epoch:644, Loss:4.2485415178816766e-05, w:1.9956291913986206, b:0.009935794398188591
Epoch:645, Loss:4.1874023736454546e-05, w:1.9956607818603516, b:0.009864149615168571
Epoch:646, Loss:4.127639840589836e-05, w:1.9956920146942139, b:0.009793000295758247
Epoch:647, Loss:4.0681963582756e-05, w:1.9957231283187866, b:0.009722390212118626
Epoch:648, Loss:4.009882832178846e-05, w:1.9957540035247803, b:0.009652276523411274
Epoch:649, Loss:3.9521004509879276e-05, w:1.9957846403121948, b:0.009582667611539364
Epoch:650, Loss:3.8954261981416494e-05, w:1.9958150386810303, b:0.009513555094599724
Epoch:651, Loss:3.839269993477501e-05, w:1.9958451986312866, b:0.009444947354495525
Epoch:652, Loss:3.7840221921214834e-05, w:1.9958751201629639, b:0.009376836009323597
Epoch:653, Loss:3.729671880137175e-05, w:1.9959049224853516, b:0.009309210814535618
Epoch:654, Loss:3.6759967770194635e-05, w:1.9959344863891602, b:0.009242062456905842
Epoch:655, Loss:3.623235534178093e-05, w:1.9959638118743896, b:0.009175400249660015
Epoch:656, Loss:3.571064007701352e-05, w:1.99599289894104, b:0.009109229780733585
Epoch:657, Loss:3.519650636008009e-05, w:1.9960217475891113, b:0.009043531492352486
Epoch:658, Loss:3.468986687948927e-05, w:1.996050477027893, b:0.008978305384516716
Epoch:659, Loss:3.4193017199868336e-05, w:1.9960789680480957, b:0.008913550525903702
Epoch:660, Loss:3.37021192535758e-05, w:1.9961072206497192, b:0.008849263191223145
Epoch:661, Loss:3.321878466522321e-05, w:1.9961352348327637, b:0.008785438723862171
Epoch:662, Loss:3.2740608730819076e-05, w:1.9961631298065186, b:0.008722091093659401
Epoch:663, Loss:3.226986518711783e-05, w:1.9961907863616943, b:0.008659186773002148
Epoch:664, Loss:3.1804822356207296e-05, w:1.996218204498291, b:0.00859673973172903
Epoch:665, Loss:3.134771395707503e-05, w:1.9962455034255981, b:0.008534746244549751
Epoch:666, Loss:3.0897470423951745e-05, w:1.9962725639343262, b:0.008473196066915989
Epoch:667, Loss:3.0454330044449307e-05, w:1.996299386024475, b:0.008412089198827744
Epoch:668, Loss:3.0017261451575905e-05, w:1.9963260889053345, b:0.008351440541446209
Epoch:669, Loss:2.958493132609874e-05, w:1.9963525533676147, b:0.008291221223771572
Epoch:670, Loss:2.9159509722376242e-05, w:1.9963788986206055, b:0.008231449872255325
Epoch:671, Loss:2.8743397706421092e-05, w:1.996405005455017, b:0.00817208830267191
Epoch:672, Loss:2.832749487424735e-05, w:1.9964309930801392, b:0.008113160729408264
Epoch:673, Loss:2.7919537387788296e-05, w:1.9964567422866821, b:0.00805464293807745
Epoch:674, Loss:2.7519108698470518e-05, w:1.996482253074646, b:0.007996554486453533
Epoch:675, Loss:2.7124304324388504e-05, w:1.9965076446533203, b:0.007938900031149387
Epoch:676, Loss:2.6736859581433237e-05, w:1.9965327978134155, b:0.0078816507011652
Epoch:677, Loss:2.6348920073360205e-05, w:1.9965578317642212, b:0.007824812084436417
Epoch:678, Loss:2.5971519789891317e-05, w:1.9965826272964478, b:0.007768383249640465
Epoch:679, Loss:2.5598605134291574e-05, w:1.9966073036193848, b:0.007712369319051504
Epoch:680, Loss:2.523072180338204e-05, w:1.9966317415237427, b:0.007656751200556755
Epoch:681, Loss:2.48672477027867e-05, w:1.996656060218811, b:0.007601538207381964
Epoch:682, Loss:2.4511009542038664e-05, w:1.9966801404953003, b:0.0075467112474143505
Epoch:683, Loss:2.4159344320651144e-05, w:1.9967041015625, b:0.007492289878427982
Epoch:684, Loss:2.3810789571143687e-05, w:1.9967279434204102, b:0.007438268978148699
Epoch:685, Loss:2.3468990548281e-05, w:1.9967515468597412, b:0.007384624797850847
Epoch:686, Loss:2.3130784029490314e-05, w:1.9967749118804932, b:0.007331361994147301
Epoch:687, Loss:2.280002627230715e-05, w:1.9967981576919556, b:0.00727848568931222
Epoch:688, Loss:2.247357952001039e-05, w:1.9968212842941284, b:0.0072259907610714436
Epoch:689, Loss:2.2148666175780818e-05, w:1.9968441724777222, b:0.0071738725528120995
Epoch:690, Loss:2.183100878028199e-05, w:1.9968669414520264, b:0.0071221403777599335
Epoch:691, Loss:2.151591979782097e-05, w:1.996889591217041, b:0.0070707895793020725
Epoch:692, Loss:2.120659701176919e-05, w:1.9969120025634766, b:0.007019782438874245
Epoch:693, Loss:2.090350244543515e-05, w:1.9969342947006226, b:0.006969146896153688
Epoch:694, Loss:2.0600215066224337e-05, w:1.996956467628479, b:0.006918888073414564
Epoch:695, Loss:2.030595533142332e-05, w:1.9969784021377563, b:0.006868982221931219
Epoch:696, Loss:2.001485336222686e-05, w:1.9970002174377441, b:0.006819433998316526
Epoch:697, Loss:1.9726627215277404e-05, w:1.9970217943191528, b:0.006770248059183359
Epoch:698, Loss:1.9441516997176223e-05, w:1.997043251991272, b:0.006721415091305971
Epoch:699, Loss:1.916306428029202e-05, w:1.9970645904541016, b:0.0066729397512972355
Epoch:700, Loss:1.8886366888182238e-05, w:1.9970858097076416, b:0.006624817382544279
Epoch:701, Loss:1.8615446606418118e-05, w:1.9971067905426025, b:0.0065770335495471954
Epoch:702, Loss:1.8348224330111407e-05, w:1.997127652168274, b:0.006529592908918858
Epoch:703, Loss:1.808491288102232e-05, w:1.9971483945846558, b:0.0064824908040463924
Epoch:704, Loss:1.7825219401856884e-05, w:1.9971688985824585, b:0.0064357370138168335
Epoch:705, Loss:1.7571062926435843e-05, w:1.9971892833709717, b:0.00638932641595602
Epoch:706, Loss:1.7317281162831932e-05, w:1.9972095489501953, b:0.006343264132738113
Epoch:707, Loss:1.7066544387489557e-05, w:1.9972296953201294, b:0.006297516170889139
Epoch:708, Loss:1.6821693861857057e-05, w:1.997249722480774, b:0.006252102088183165
Epoch:709, Loss:1.6582394891884178e-05, w:1.9972695112228394, b:0.00620700279250741
Epoch:710, Loss:1.6342226444976404e-05, w:1.9972891807556152, b:0.006162237375974655
Epoch:711, Loss:1.6107780538732186e-05, w:1.9973087310791016, b:0.0061178058385849
Epoch:712, Loss:1.5876878023846075e-05, w:1.9973281621932983, b:0.006073689088225365
Epoch:713, Loss:1.5647186955902725e-05, w:1.9973474740982056, b:0.006029896438121796
Epoch:714, Loss:1.542304380564019e-05, w:1.9973665475845337, b:0.005986399482935667
Epoch:715, Loss:1.520188288850477e-05, w:1.9973855018615723, b:0.005943231284618378
Epoch:716, Loss:1.4982319044065662e-05, w:1.9974043369293213, b:0.005900373216718435
Epoch:717, Loss:1.4767701941309497e-05, w:1.9974230527877808, b:0.0058578248135745525
Epoch:718, Loss:1.4556852875102777e-05, w:1.9974416494369507, b:0.00581559119746089
Epoch:719, Loss:1.4346858733915724e-05, w:1.997460126876831, b:0.005773657932877541
Epoch:720, Loss:1.4140359780867584e-05, w:1.9974784851074219, b:0.005732034798711538
Epoch:721, Loss:1.3936657524027396e-05, w:1.9974966049194336, b:0.00569069292396307
Epoch:722, Loss:1.3736374967265874e-05, w:1.9975147247314453, b:0.0056496658362448215
Epoch:723, Loss:1.3540749932872131e-05, w:1.997532606124878, b:0.00560892466455698
Epoch:724, Loss:1.3344402759685181e-05, w:1.997550368309021, b:0.005568474531173706
Epoch:725, Loss:1.3153075997252017e-05, w:1.9975680112838745, b:0.0055283294059336185
Epoch:726, Loss:1.2963130757270847e-05, w:1.9975855350494385, b:0.005488470662385225
Epoch:727, Loss:1.2777682968589943e-05, w:1.997602939605713, b:0.005448897834867239
Epoch:728, Loss:1.2593366591318045e-05, w:1.9976202249526978, b:0.00540961604565382
Epoch:729, Loss:1.241202699020505e-05, w:1.997637391090393, b:0.005370610859245062
Epoch:730, Loss:1.223546132678166e-05, w:1.9976544380187988, b:0.005331891588866711
Epoch:731, Loss:1.20581407827558e-05, w:1.997671365737915, b:0.005293439608067274
Epoch:732, Loss:1.1887124856002629e-05, w:1.9976881742477417, b:0.005255268886685371
Epoch:733, Loss:1.1715142136381473e-05, w:1.9977048635482788, b:0.005217369645833969
Epoch:734, Loss:1.1546585483301897e-05, w:1.9977214336395264, b:0.0051797423511743546
Epoch:735, Loss:1.1381407603039406e-05, w:1.9977378845214844, b:0.005142387002706528
Epoch:736, Loss:1.1216448001505341e-05, w:1.9977542161941528, b:0.005105303600430489
Epoch:737, Loss:1.105578394344775e-05, w:1.9977704286575317, b:0.00506847258657217
Epoch:738, Loss:1.0896087587752845e-05, w:1.997786521911621, b:0.00503191351890564
Epoch:739, Loss:1.0740410289145075e-05, w:1.997802495956421, b:0.00499561196193099
Epoch:740, Loss:1.058528505382128e-05, w:1.9978183507919312, b:0.004959572572261095
Epoch:741, Loss:1.0433166607981548e-05, w:1.9978340864181519, b:0.004923805128782988
Epoch:742, Loss:1.0283455594617408e-05, w:1.997849702835083, b:0.004888295195996761
Epoch:743, Loss:1.0135382581211161e-05, w:1.9978652000427246, b:0.004853037651628256
Epoch:744, Loss:9.990586477215402e-06, w:1.9978805780410767, b:0.004818023648113012
Epoch:745, Loss:9.846832654147875e-06, w:1.9978958368301392, b:0.00478326715528965
Epoch:746, Loss:9.705388038128149e-06, w:1.997910976409912, b:0.004748768173158169
Epoch:747, Loss:9.56496751314262e-06, w:1.9979259967803955, b:0.004714521579444408
Epoch:748, Loss:9.428606063011102e-06, w:1.997941017150879, b:0.004680527839809656
Epoch:749, Loss:9.292866707255598e-06, w:1.9979557991027832, b:0.004646767862141132
Epoch:750, Loss:9.158466127701104e-06, w:1.9979705810546875, b:0.00461326539516449
Epoch:751, Loss:9.0271387307439e-06, w:1.9979852437973022, b:0.004579996690154076
Epoch:752, Loss:8.897109182726126e-06, w:1.9979997873306274, b:0.004546975716948509
Epoch:753, Loss:8.770775821176358e-06, w:1.998014211654663, b:0.004514178726822138
Epoch:754, Loss:8.643978617328685e-06, w:1.9980285167694092, b:0.004481625277549028
Epoch:755, Loss:8.518783033650834e-06, w:1.9980427026748657, b:0.00444930512458086
Epoch:756, Loss:8.397533747483976e-06, w:1.9980567693710327, b:0.0044172233901917934
Epoch:757, Loss:8.275816071545705e-06, w:1.9980708360671997, b:0.004385375417768955
Epoch:758, Loss:8.158805030689109e-06, w:1.9980847835540771, b:0.004353751428425312
Epoch:759, Loss:8.039168278628495e-06, w:1.998098611831665, b:0.00432236585766077
Epoch:760, Loss:7.924993951746728e-06, w:1.9981123208999634, b:0.004291180521249771
Epoch:761, Loss:7.811636351107154e-06, w:1.9981259107589722, b:0.004260228946805
Epoch:762, Loss:7.697645742155146e-06, w:1.998139500617981, b:0.004229511134326458
Epoch:763, Loss:7.587053005408961e-06, w:1.9981528520584106, b:0.004199002869427204
Epoch:764, Loss:7.478851330233738e-06, w:1.9981662034988403, b:0.004168723709881306
Epoch:765, Loss:7.372058462351561e-06, w:1.9981794357299805, b:0.004138659220188856
Epoch:766, Loss:7.266504326253198e-06, w:1.998192548751831, b:0.0041088140569627285
Epoch:767, Loss:7.1612430474488065e-06, w:1.998205542564392, b:0.004079178441315889
Epoch:768, Loss:7.058295523165725e-06, w:1.9982185363769531, b:0.004049762152135372
Epoch:769, Loss:6.9560946940327995e-06, w:1.9982314109802246, b:0.004020551219582558
Epoch:770, Loss:6.856463187432382e-06, w:1.9982441663742065, b:0.003991545177996159
Epoch:771, Loss:6.75785486237146e-06, w:1.998256802558899, b:0.0039627584628760815
Epoch:772, Loss:6.6601096477825195e-06, w:1.9982693195343018, b:0.003934167325496674
Epoch:773, Loss:6.5648628151393496e-06, w:1.998281717300415, b:0.003905785968527198
Epoch:774, Loss:6.470600055763498e-06, w:1.9982941150665283, b:0.0038776288274675608
Epoch:775, Loss:6.378192210831912e-06, w:1.998306393623352, b:0.003849671920761466
Epoch:776, Loss:6.286303687375039e-06, w:1.9983186721801758, b:0.0038219247944653034
Epoch:777, Loss:6.197253242135048e-06, w:1.99833083152771, b:0.00379437324590981
Epoch:778, Loss:6.108120942371897e-06, w:1.9983428716659546, b:0.003767021931707859
Epoch:779, Loss:6.020345608703792e-06, w:1.9983547925949097, b:0.0037398517597466707
Epoch:780, Loss:5.933206011832226e-06, w:1.9983667135238647, b:0.0037128818221390247
Epoch:781, Loss:5.848670298291836e-06, w:1.9983785152435303, b:0.003686112118884921
Epoch:782, Loss:5.763067747466266e-06, w:1.9983901977539062, b:0.00365953310392797
Epoch:783, Loss:5.680864887835924e-06, w:1.9984017610549927, b:0.0036331305745989084
Epoch:784, Loss:5.599115866061766e-06, w:1.998413324356079, b:0.0036069282796233892
Epoch:785, Loss:5.5174141380121e-06, w:1.998424768447876, b:0.0035809120163321495
Epoch:786, Loss:5.438887455966324e-06, w:1.9984360933303833, b:0.0035550768952816725
Epoch:787, Loss:5.361057446862105e-06, w:1.998447299003601, b:0.0035294326953589916
Epoch:788, Loss:5.284056896925904e-06, w:1.9984585046768188, b:0.003503993386402726
Epoch:789, Loss:5.208144102653023e-06, w:1.998469591140747, b:0.0034787352196872234
Epoch:790, Loss:5.133176273375284e-06, w:1.9984806776046753, b:0.003453663084656
Epoch:791, Loss:5.059667273599189e-06, w:1.998491644859314, b:0.0034287674352526665
Epoch:792, Loss:4.987727152183652e-06, w:1.998502492904663, b:0.0034040433820337057
Epoch:793, Loss:4.915270892524859e-06, w:1.9985133409500122, b:0.0033795004710555077
Epoch:794, Loss:4.8452639020979404e-06, w:1.9985240697860718, b:0.003355129389092326
Epoch:795, Loss:4.775377419719007e-06, w:1.9985346794128418, b:0.0033309345599263906
Epoch:796, Loss:4.7066314436960965e-06, w:1.9985452890396118, b:0.0033069257624447346
Epoch:797, Loss:4.639008693629876e-06, w:1.9985557794570923, b:0.0032830697018653154
Epoch:798, Loss:4.572495527099818e-06, w:1.9985661506652832, b:0.003259385237470269
Epoch:799, Loss:4.507081939664204e-06, w:1.9985765218734741, b:0.0032358914613723755
Epoch:800, Loss:4.441771579877241e-06, w:1.9985867738723755, b:0.003212555078789592
Epoch:801, Loss:4.377910045150202e-06, w:1.9985969066619873, b:0.003189385635778308
Epoch:802, Loss:4.315356818551663e-06, w:1.9986070394515991, b:0.00316639244556427
Epoch:803, Loss:4.2525366552581545e-06, w:1.998617172241211, b:0.0031435710843652487
Epoch:804, Loss:4.191482730675489e-06, w:1.9986270666122437, b:0.0031208880245685577
Epoch:805, Loss:4.132290087000001e-06, w:1.9986369609832764, b:0.0030983956530690193
Epoch:806, Loss:4.071407147421269e-06, w:1.998646855354309, b:0.003076055785641074
Epoch:807, Loss:4.014003025076818e-06, w:1.9986566305160522, b:0.003053873311728239
Epoch:808, Loss:3.956544787797611e-06, w:1.9986662864685059, b:0.003031852887943387
Epoch:809, Loss:3.899041075783316e-06, w:1.9986759424209595, b:0.003009989857673645
Epoch:810, Loss:3.842414571408881e-06, w:1.9986854791641235, b:0.00298827956430614
Epoch:811, Loss:3.787446303249453e-06, w:1.998694896697998, b:0.0029667264316231012
Epoch:812, Loss:3.733323183041648e-06, w:1.9987043142318726, b:0.0029453306924551725
Epoch:813, Loss:3.679814199131215e-06, w:1.998713731765747, b:0.0029240972362458706
Epoch:814, Loss:3.6268011172069237e-06, w:1.998723030090332, b:0.0029030018486082554
Epoch:815, Loss:3.5749424114328576e-06, w:1.9987322092056274, b:0.002882059197872877
Epoch:816, Loss:3.52258530256222e-06, w:1.9987413883209229, b:0.002861264394596219
Epoch:817, Loss:3.472885737210163e-06, w:1.9987504482269287, b:0.0028406078927218914
Epoch:818, Loss:3.4220367979287403e-06, w:1.9987595081329346, b:0.0028201276436448097
Epoch:819, Loss:3.37316419063427e-06, w:1.9987684488296509, b:0.0027997810393571854
Epoch:820, Loss:3.325595116621116e-06, w:1.9987772703170776, b:0.0027795727364718914
Epoch:821, Loss:3.2774182727735024e-06, w:1.9987860918045044, b:0.0027595264837145805
Epoch:822, Loss:3.230114316465915e-06, w:1.9987947940826416, b:0.0027396185323596
Epoch:823, Loss:3.183465878464631e-06, w:1.9988034963607788, b:0.0027198679745197296
Epoch:824, Loss:3.138085276077618e-06, w:1.998812198638916, b:0.0027002652641385794
Epoch:825, Loss:3.0928244996175636e-06, w:1.9988207817077637, b:0.00268078176304698
Epoch:826, Loss:3.048704002139857e-06, w:1.9988292455673218, b:0.002661441219970584
Epoch:827, Loss:3.003994834216428e-06, w:1.9988377094268799, b:0.002642253180965781
Epoch:828, Loss:2.9612153866764857e-06, w:1.9988460540771484, b:0.002623193897306919
Epoch:829, Loss:2.9189427550591063e-06, w:1.998854398727417, b:0.002604282461106777
Epoch:830, Loss:2.8774659313057782e-06, w:1.998862624168396, b:0.002585495123639703
Epoch:831, Loss:2.835503210008028e-06, w:1.998870849609375, b:0.002566850744187832
Epoch:832, Loss:2.79530627267377e-06, w:1.9988789558410645, b:0.0025483400095254183
Epoch:833, Loss:2.7542391762835905e-06, w:1.998887062072754, b:0.002529967576265335
Epoch:834, Loss:2.7153905648447108e-06, w:1.9988950490951538, b:0.0025117190089076757
Epoch:835, Loss:2.6767233975988347e-06, w:1.9989030361175537, b:0.0024936182890087366
Epoch:836, Loss:2.637107400005334e-06, w:1.9989110231399536, b:0.002475650981068611
Epoch:837, Loss:2.600034576971666e-06, w:1.998918890953064, b:0.0024577886797487736
Epoch:838, Loss:2.562200506872614e-06, w:1.9989266395568848, b:0.0024400597903877497
Epoch:839, Loss:2.525568334021955e-06, w:1.9989343881607056, b:0.002422464545816183
Epoch:840, Loss:2.4889243377401726e-06, w:1.9989420175552368, b:0.0024049885105341673
Epoch:841, Loss:2.4535495413147146e-06, w:1.998949646949768, b:0.002387641230598092
Epoch:842, Loss:2.4183384539355757e-06, w:1.9989572763442993, b:0.0023704227060079575
Epoch:843, Loss:2.3838294964662055e-06, w:1.998964786529541, b:0.002353318501263857
Epoch:844, Loss:2.3491240881412523e-06, w:1.9989722967147827, b:0.0023363479413092136
Epoch:845, Loss:2.3153802430897485e-06, w:1.9989796876907349, b:0.0023194917012006044
Epoch:846, Loss:2.2824956431577448e-06, w:1.998987078666687, b:0.0023027595598250628
Epoch:847, Loss:2.2495839857583633e-06, w:1.9989943504333496, b:0.002286146627739072
Epoch:848, Loss:2.2164797428558813e-06, w:1.9990016222000122, b:0.0022696624509990215
Epoch:849, Loss:2.1849944005225552e-06, w:1.9990087747573853, b:0.002253287937492132
Epoch:850, Loss:2.1536498024943285e-06, w:1.9990159273147583, b:0.0022370421793311834
Epoch:851, Loss:2.12244799513428e-06, w:1.9990230798721313, b:0.0022209107410162687
Epoch:852, Loss:2.0922288967994973e-06, w:1.9990301132202148, b:0.002204879419878125
Epoch:853, Loss:2.062143948933226e-06, w:1.9990371465682983, b:0.002188972197473049
Epoch:854, Loss:2.0323589069448644e-06, w:1.9990440607070923, b:0.002173174638301134
Epoch:855, Loss:2.0032853171869647e-06, w:1.9990509748458862, b:0.002157500945031643
Epoch:856, Loss:1.974502083612606e-06, w:1.9990577697753906, b:0.0021419322583824396
Epoch:857, Loss:1.9458468614175217e-06, w:1.999064564704895, b:0.002126482781022787
Epoch:858, Loss:1.9181243260391057e-06, w:1.9990712404251099, b:0.002111138077452779
Epoch:859, Loss:1.8905216165876482e-06, w:1.9990779161453247, b:0.002095922129228711
Epoch:860, Loss:1.863040097305202e-06, w:1.9990845918655396, b:0.002080820733681321
Epoch:861, Loss:1.8370196812611539e-06, w:1.9990911483764648, b:0.0020658194553107023
Epoch:862, Loss:1.8107916730514262e-06, w:1.9990977048873901, b:0.0020509373862296343
Epoch:863, Loss:1.7845188722276362e-06, w:1.9991042613983154, b:0.0020361554343253374
Epoch:864, Loss:1.758977987265098e-06, w:1.9991106986999512, b:0.0020214831456542015
Epoch:865, Loss:1.733239287204924e-06, w:1.999117136001587, b:0.0020069158636033535
Epoch:866, Loss:1.7087525066017406e-06, w:1.999123454093933, b:0.00199243426322937
Epoch:867, Loss:1.6842898276081542e-06, w:1.9991297721862793, b:0.0019780814182013273
Epoch:868, Loss:1.659704139456153e-06, w:1.9991360902786255, b:0.0019638286903500557
Epoch:869, Loss:1.6355966181436088e-06, w:1.9991422891616821, b:0.0019496714230626822
Epoch:870, Loss:1.612477262824541e-06, w:1.9991484880447388, b:0.0019356142729520798
Epoch:871, Loss:1.5894499938440276e-06, w:1.9991546869277954, b:0.0019216572400182486
Epoch:872, Loss:1.566441596878576e-06, w:1.9991607666015625, b:0.0019077860051766038
Epoch:873, Loss:1.5443240499735111e-06, w:1.9991668462753296, b:0.00189402443356812
Epoch:874, Loss:1.5216457995848032e-06, w:1.9991728067398071, b:0.0018803583225235343
Epoch:875, Loss:1.4996339814388193e-06, w:1.9991787672042847, b:0.0018668018747121096
Epoch:876, Loss:1.4779247976548504e-06, w:1.9991847276687622, b:0.001853350317105651
Epoch:877, Loss:1.4564434422936756e-06, w:1.9991905689239502, b:0.0018399797845631838
Epoch:878, Loss:1.4359545730258105e-06, w:1.9991964101791382, b:0.001826704596169293
Epoch:879, Loss:1.415750148225925e-06, w:1.9992022514343262, b:0.001813539071008563
Epoch:880, Loss:1.3952080735180061e-06, w:1.9992079734802246, b:0.0018004594603553414
Epoch:881, Loss:1.3748160654358799e-06, w:1.999213695526123, b:0.0017874704208225012
Epoch:882, Loss:1.355385620627203e-06, w:1.999219298362732, b:0.0017745719524100423
Epoch:883, Loss:1.3352878340811003e-06, w:1.9992249011993408, b:0.0017617783742025495
Epoch:884, Loss:1.3168073564884253e-06, w:1.9992305040359497, b:0.0017490754835307598
Epoch:885, Loss:1.297462404181715e-06, w:1.9992361068725586, b:0.0017364631639793515
Epoch:886, Loss:1.279574917134596e-06, w:1.999241590499878, b:0.0017239366425201297
Epoch:887, Loss:1.2609632449311903e-06, w:1.9992470741271973, b:0.0017115197842940688
Epoch:888, Loss:1.242488224306726e-06, w:1.9992525577545166, b:0.0016991839511319995
Epoch:889, Loss:1.2246637197677046e-06, w:1.9992579221725464, b:0.0016869292594492435
Epoch:890, Loss:1.2069681361026596e-06, w:1.9992632865905762, b:0.001674765138886869
Epoch:891, Loss:1.1893384908034932e-06, w:1.999268651008606, b:0.0016626915894448757
Epoch:892, Loss:1.1723416264430853e-06, w:1.9992738962173462, b:0.001650694408454001
Epoch:893, Loss:1.1554670891200658e-06, w:1.9992791414260864, b:0.0016387830255553126
Epoch:894, Loss:1.1392107808205765e-06, w:1.999284267425537, b:0.0016269574407488108
Epoch:895, Loss:1.1230699783482123e-06, w:1.9992893934249878, b:0.0016152272000908852
Epoch:896, Loss:1.1064942100347253e-06, w:1.9992945194244385, b:0.0016035924199968576
Epoch:897, Loss:1.0905273484240752e-06, w:1.9992996454238892, b:0.0015920291189104319
Epoch:898, Loss:1.0751582522061653e-06, w:1.9993046522140503, b:0.0015805468428879976
Epoch:899, Loss:1.0594199011393357e-06, w:1.9993096590042114, b:0.0015691552544012666
Epoch:900, Loss:1.044867076416267e-06, w:1.9993146657943726, b:0.001557844690978527
Epoch:901, Loss:1.029352688419749e-06, w:1.9993196725845337, b:0.0015466103795915842
Epoch:902, Loss:1.0148326055059442e-06, w:1.9993245601654053, b:0.0015354572096839547
Epoch:903, Loss:9.999507710745092e-07, w:1.9993294477462769, b:0.0015243898378685117
Epoch:904, Loss:9.8575674201129e-07, w:1.9993343353271484, b:0.0015133987180888653
Epoch:905, Loss:9.71548388406518e-07, w:1.9993391036987305, b:0.0015024696476757526
Epoch:906, Loss:9.57443262450397e-07, w:1.9993438720703125, b:0.0014916263753548265
Epoch:907, Loss:9.435553351977433e-07, w:1.9993486404418945, b:0.0014808689011260867
Epoch:908, Loss:9.304962986789178e-07, w:1.999353289604187, b:0.0014701734762638807
Epoch:909, Loss:9.17083355034265e-07, w:1.9993579387664795, b:0.001459568622522056
Epoch:910, Loss:9.033260539581534e-07, w:1.999362587928772, b:0.001449044793844223
Epoch:911, Loss:8.905497566047416e-07, w:1.999367117881775, b:0.0014385925605893135
Epoch:912, Loss:8.77538525401178e-07, w:1.9993717670440674, b:0.0014282308984547853
Epoch:913, Loss:8.650554832456692e-07, w:1.9993762969970703, b:0.0014179263962432742
Epoch:914, Loss:8.529294177606062e-07, w:1.9993807077407837, b:0.0014076887164264917
Epoch:915, Loss:8.404629738834046e-07, w:1.999385118484497, b:0.0013975368347018957
Epoch:916, Loss:8.28511531381082e-07, w:1.9993895292282104, b:0.0013874613214284182
Epoch:917, Loss:8.167510259227129e-07, w:1.9993939399719238, b:0.001377471606247127
Epoch:918, Loss:8.045528829825344e-07, w:1.9993983507156372, b:0.0013675438240170479
Epoch:919, Loss:7.937410373415332e-07, w:1.9994027614593506, b:0.0013576924102380872
Epoch:920, Loss:7.818201197551389e-07, w:1.9994070529937744, b:0.0013479077024385333
Epoch:921, Loss:7.710598310950445e-07, w:1.9994113445281982, b:0.0013381754979491234
Epoch:922, Loss:7.593110353809607e-07, w:1.999415636062622, b:0.0013285338645800948
Epoch:923, Loss:7.488086453122378e-07, w:1.9994198083877563, b:0.0013189446181058884
Epoch:924, Loss:7.378794180112891e-07, w:1.9994239807128906, b:0.0013094221940264106
Epoch:925, Loss:7.275268671946833e-07, w:1.999428153038025, b:0.0012999807950109243
Epoch:926, Loss:7.16853946869378e-07, w:1.9994323253631592, b:0.0012906062183901668
Epoch:927, Loss:7.065034424158512e-07, w:1.999436378479004, b:0.0012812888016924262
Epoch:928, Loss:6.959865004318999e-07, w:1.9994404315948486, b:0.0012720477534458041
Epoch:929, Loss:6.865105319775466e-07, w:1.9994444847106934, b:0.001262863865122199
Epoch:930, Loss:6.768609637219924e-07, w:1.999448537826538, b:0.0012537610018625855
Epoch:931, Loss:6.669472440989921e-07, w:1.9994524717330933, b:0.0012447201879695058
Epoch:932, Loss:6.57059956665762e-07, w:1.9994564056396484, b:0.0012357460800558329
Epoch:933, Loss:6.47479737381218e-07, w:1.9994603395462036, b:0.0012268244754523039
Epoch:934, Loss:6.384348125720862e-07, w:1.9994642734527588, b:0.0012179743498563766
Epoch:935, Loss:6.291305112426926e-07, w:1.9994680881500244, b:0.0012091815005987883
Epoch:936, Loss:6.198945357027696e-07, w:1.99947190284729, b:0.0012004505842924118
Epoch:937, Loss:6.112716164352605e-07, w:1.9994757175445557, b:0.001191781717352569
Epoch:938, Loss:6.024840786267305e-07, w:1.9994795322418213, b:0.001183189102448523
Epoch:939, Loss:5.938046001574548e-07, w:1.9994832277297974, b:0.0011746537638828158
Epoch:940, Loss:5.851439368598221e-07, w:1.9994869232177734, b:0.0011661899043247104
Epoch:941, Loss:5.772092208644608e-07, w:1.9994906187057495, b:0.0011577833211049438
Epoch:942, Loss:5.686708846042166e-07, w:1.9994943141937256, b:0.001149438670836389
Epoch:943, Loss:5.605009505416092e-07, w:1.9994980096817017, b:0.0011411512969061732
Epoch:944, Loss:5.523032200471789e-07, w:1.9995015859603882, b:0.0011329163098707795
Epoch:945, Loss:5.442520887299906e-07, w:1.9995051622390747, b:0.0011247575748711824
Epoch:946, Loss:5.366005666473939e-07, w:1.9995087385177612, b:0.0011166513431817293
Epoch:947, Loss:5.286651685310062e-07, w:1.9995123147964478, b:0.0011086070444434881
Epoch:948, Loss:5.215445071371505e-07, w:1.9995158910751343, b:0.0011006152490153909
Epoch:949, Loss:5.139295922163001e-07, w:1.9995193481445312, b:0.0010926711838692427
Epoch:950, Loss:5.06164269609144e-07, w:1.9995228052139282, b:0.0010847985977306962
Epoch:951, Loss:4.988692126062233e-07, w:1.9995262622833252, b:0.0010769785149022937
Epoch:952, Loss:4.92359731651959e-07, w:1.9995296001434326, b:0.0010691964998841286
Epoch:953, Loss:4.851647190662334e-07, w:1.9995330572128296, b:0.0010615003993734717
Epoch:954, Loss:4.782234555023024e-07, w:1.999536395072937, b:0.0010538423666730523
Epoch:955, Loss:4.713322141469689e-07, w:1.9995397329330444, b:0.0010462416103109717
Epoch:956, Loss:4.6449099500023294e-07, w:1.9995430707931519, b:0.0010386980138719082
Epoch:957, Loss:4.576607466333371e-07, w:1.9995464086532593, b:0.0010312116937711835
Epoch:958, Loss:4.5123198333385517e-07, w:1.9995496273040771, b:0.001023768214508891
Epoch:959, Loss:4.44500301455264e-07, w:1.999552845954895, b:0.0010163915576413274
Epoch:960, Loss:4.381649887363892e-07, w:1.999556064605713, b:0.0010090578580275178
Epoch:961, Loss:4.318372361922229e-07, w:1.9995592832565308, b:0.001001790864393115
Epoch:962, Loss:4.2563198121570167e-07, w:1.9995625019073486, b:0.0009945763740688562
Epoch:963, Loss:4.194328653284174e-07, w:1.999565601348877, b:0.000987390405498445
Epoch:964, Loss:4.1380309312444297e-07, w:1.9995687007904053, b:0.0009802712593227625
Epoch:965, Loss:4.076543973496882e-07, w:1.9995718002319336, b:0.000973209273070097
Epoch:966, Loss:4.0180975702241994e-07, w:1.999574899673462, b:0.0009661997901275754
Epoch:967, Loss:3.958610363952175e-07, w:1.9995779991149902, b:0.000959237979259342
Epoch:968, Loss:3.903922447534569e-07, w:1.999580979347229, b:0.0009523190674372017
Epoch:969, Loss:3.8496165188917075e-07, w:1.9995839595794678, b:0.0009454573737457395
Epoch:970, Loss:3.7931863516860176e-07, w:1.9995869398117065, b:0.0009386528981849551
Epoch:971, Loss:3.7375235706349486e-07, w:1.9995900392532349, b:0.0009319104137830436
Epoch:972, Loss:3.684040166263003e-07, w:1.9995930194854736, b:0.0009251917945221066
Epoch:973, Loss:3.632342213677475e-07, w:1.9995959997177124, b:0.0009185160743072629
Epoch:974, Loss:3.5799644138023723e-07, w:1.9995988607406616, b:0.0009118880261667073
Epoch:975, Loss:3.527623562149529e-07, w:1.9996017217636108, b:0.0009053171961568296
Epoch:976, Loss:3.476009737823915e-07, w:1.99960458278656, b:0.000898789323400706
Epoch:977, Loss:3.4281811167602427e-07, w:1.9996074438095093, b:0.0008923186687752604
Epoch:978, Loss:3.3769657648008433e-07, w:1.9996103048324585, b:0.0008858909131959081
Epoch:979, Loss:3.329826085973764e-07, w:1.9996131658554077, b:0.0008795060566626489
Epoch:980, Loss:3.279354245933064e-07, w:1.9996159076690674, b:0.000873164099175483
Epoch:981, Loss:3.2319098863808904e-07, w:1.999618649482727, b:0.0008668650989420712
Epoch:982, Loss:3.1880949791229796e-07, w:1.9996213912963867, b:0.0008606185438111424
Epoch:983, Loss:3.141317961308232e-07, w:1.9996241331100464, b:0.000854410114698112
Epoch:984, Loss:3.098123784184281e-07, w:1.999626874923706, b:0.0008482541306875646
Epoch:985, Loss:3.0526626915161614e-07, w:1.9996296167373657, b:0.0008421363309025764
Epoch:986, Loss:3.009440661116969e-07, w:1.9996322393417358, b:0.0008360471110790968
Epoch:987, Loss:2.963683982670773e-07, w:1.999634861946106, b:0.00083001988241449
Epoch:988, Loss:2.924246018665144e-07, w:1.999637484550476, b:0.0008240307797677815
Epoch:989, Loss:2.8791441764042247e-07, w:1.9996401071548462, b:0.000818089407403022
Epoch:990, Loss:2.840274646587204e-07, w:1.9996427297592163, b:0.0008121861610561609
Epoch:991, Loss:2.795827640511561e-07, w:1.9996453523635864, b:0.0008063305867835879
Epoch:992, Loss:2.7596644258665037e-07, w:1.999647855758667, b:0.0008005131967365742
Epoch:993, Loss:2.7182778694623266e-07, w:1.9996503591537476, b:0.0007947387057356536
Epoch:994, Loss:2.678107762221771e-07, w:1.9996528625488281, b:0.0007890118868090212
Epoch:995, Loss:2.6394309315946884e-07, w:1.9996553659439087, b:0.0007833231939002872
Epoch:996, Loss:2.601926212264516e-07, w:1.9996578693389893, b:0.0007776774582453072
Epoch:997, Loss:2.567044248280581e-07, w:1.9996603727340698, b:0.0007720650755800307
Epoch:998, Loss:2.529180278543208e-07, w:1.9996628761291504, b:0.0007664955919608474
Epoch:999, Loss:2.49247023020871e-07, w:1.9996652603149414, b:0.0007609690655954182
w =  1.9996676445007324
b =  0.0007554758922196925
y_pred =  tensor([7.9994])

训练的预期目标是使得权重值w=2,偏置值b=0,预测值为8,通过输出结果可知显然做到了,说明本次训练是比较成功的。接下来使用Python的Matplotlib库绘图来记录训练的完整过程4,把损失值loss和权重值weight随着Epoch变化的过程可视化。
线性回归的PyTorch实现_第1张图片


写到这里,差不多本文也就要结束了,如有错误之处,敬请指正。如果我的这篇文章帮助到了你,那我也会感到很高兴,一个人能走多远,在于与谁同行


参考文章


  1. 《PyTorch深度学习实践》完结合集 - 05.用PyTorch实现线性回归
    ↩︎

  2. pytorch 之 call, init,forward
    ↩︎

  3. pytorch系列 ----暂时就叫5的番外吧: nn.Modlue及nn.Linear 源码理解
    ↩︎

  4. Python学习-Matplotlib库绘制三维统计图(绘制点、线、面)
    ↩︎

你可能感兴趣的:(PyTorch,python基础知识积累,人工智能,pytorch,神经网络,深度学习,线性回归)