Comments (4)
@xixiaoyao 能帮忙说明一下吗?
from palm.
感谢建议,我们近期会考虑增加一个example。如果希望细粒度的控制训练过程(比如训练一些step后做eval等其他事情),有两种做法:
一种是调用train_one_step
而不是train
函数来控制(train_one_step
被调用一次,则会训练一个step),通过该API训练一定step后再调用eval
函数即可。
另一种是通过设置saver来周期性的保存下来模型checkpoints,然后依次遍历checkpoint进行evaluation,这种方式可以加快训练速度(训练与eval可以并行进行)
from palm.
谢谢,我试一下
from palm.
@xixiaoyao 另外,我在实际测试一个example的时候预测段发生了问题见Issue #71,是相关的版本问题吗?
from palm.
Related Issues (20)
- 添加新主干网络的疑问 HOT 3
- 函数引用出错 HOT 4
- paddle 版本 HOT 6
- 在jupyter notebook 运行报错? HOT 3
- 运行classification example报错? HOT 1
- paddlepalm安装中报错 HOT 1
- 请问如何用PALM对Ernie进行预训练? HOT 1
- 报一个小bug,用num_fakes做切片时没有取整。 HOT 1
- 设计缺陷,classify head的后处理不返回输出,仅支持输出到文件 HOT 1
- Perhaps the main_program is not set to ParallelExecutor. HOT 2
- 一次预加载模型,开多线程对多个预测集进行预测,请问怎么实现 HOT 1
- 预测数据 < batch_size时会抛异常
- 可以自定义分词器吗?还是必须自己重写Reader?ಥ_ಥ
- PALM梯度更新问题 HOT 1
- 用multi-task中文词槽训练,样本预测的结果怎么查看
- 很好的工作,可惜没人维护了 HOT 1
- 'Match' object has no attribute '_batch_size'什么情况
- cpu和gpu同时使用问题
- 我在执行run.sh遇到问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from palm.