Comments (3)
您好,关于第一个问题,是的,在训练阶段进行了测试,方便观察模型的效果;
关于第二个问题,这样设置的目的是希望模型训练完一个Epoch之后,固定模型BN层的参数,提高模型的泛化能力,是一个小的trick,当然你可以去掉这个设置,但是需要在train代码里把模型的模式改成model.train()。
from covamnet.
感谢您的回答,还有一个问题不是太懂,在训练阶段的代码中episodeSize是代表batch_size吗?可以改变他的大小吗?我发小改变他之后,取N-way数据标签都是0-4,这样会对训练有影响吗?
from covamnet.
from covamnet.
Related Issues (6)
- AttributeError: 'torch.dtype' object has no attribute 'type' HOT 16
- Custom dataset HOT 1
- Need for help HOT 1
- 准确率问题 HOT 2
- 关于权重ω HOT 2
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 covamnet.