-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有一些问题想请教一下 #1
Comments
(1)model_training.py是用来训练模型的程序。模型训练结束后会在你所定义的save_dir路径中生产训练得到的模型。 |
你好,运行model_training.py时出现这个报错
…------------------ 原始邮件 ------------------
发件人: "1614866360/Garbage-test" <[email protected]>;
发送时间: 2020年12月20日(星期天) 下午4:07
收件人: "1614866360/Garbage-test"<[email protected]>;
抄送: "王善鹏"<[email protected]>;"Author"<[email protected]>;
主题: Re: [1614866360/Garbage-test] 有一些问题想请教一下 (#1)
(1)model_training.py是用来训练模型的程序。模型训练结束后会在你所定义的save_dir路径中生产训练得到的模型。
(2)garbage.py是用来实现模型的程序,它调用了在model_training.py中训练得到的模型,并通过具体的表现形式呈现出来。在这里,我采用的是使用openCV 获取动态图,然后调用模型进行预测的方式。
(3)之前的garbage.py是我的失误,放的是之前调试的代码,并非最后实现的程序。现已改正。
感谢您的提问。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
报错没看到,能否再发一遍? |
附件里这个报错
…------------------ 原始邮件 ------------------
发件人: "1614866360/Garbage-test" <[email protected]>;
发送时间: 2020年12月21日(星期一) 中午12:27
收件人: "1614866360/Garbage-test"<[email protected]>;
抄送: "王善鹏"<[email protected]>;"Author"<[email protected]>;
主题: Re: [1614866360/Garbage-test] 有一些问题想请教一下 (#1)
报错没看到,能否再发一遍?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
您好,报错问题已经解决,感谢您的解答。还有一个问题想请教以下您,怎么用visualDL将模型训练的结果表示出来
------------------ 原始邮件 ------------------
发件人: "1614866360/Garbage-test" <[email protected]>;
发送时间: 2020年12月21日(星期一) 中午12:27
收件人: "1614866360/Garbage-test"<[email protected]>;
抄送: "王善鹏"<[email protected]>;"Author"<[email protected]>;
主题: Re: [1614866360/Garbage-test] 有一些问题想请教一下 (#1)
报错没看到,能否再发一遍?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
一种是在百度AI Studio平台上运行,在这个平台上运行会给你提供visualdl的可视化界面,直接将log放进去就行;还有一种方式是在本地跑,pip install --upgrade --pre visualdl,它有两种启动方式,一种是python脚本启动,一种是命令行启动,具体的可以看一下visualdl的官网:https://www.paddlepaddle.org.cn/documentation/docs/zh/1.5/user_guides/howto/evaluation_and_debugging/debug/visualdl.html |
请问log我怎么去生成呢 |
model.train(num_epochs=300, 这里的use_vdl设置为True |
首先谢谢您解答我的疑问。但是 如果那样的话只能画出loss与step之间的关系,如何画出loss与step之间的关系呢? |
嘶~没太明白您的意思?“如果那样的话只能画出loss与step之间的关系,如何画出loss与step之间的关系呢?” |
就是用visualDL画出的loss 图的横坐标是step,如何画出横坐标为epoch的loss图 |
model_training.py里运行之后没有结果。
garbage.py跟model_training.py的关系是什么呢
garbage.py里面很多代码被注释了,运行时是不是需要把注释去掉
The text was updated successfully, but these errors were encountered: