Comments (3)
Hi,
Thank you for your interest in our work.
To enable EMA, set ema: True
in the configuration file found at this link:
This will cause the program to use the script
model_fusion_teacher_student_ema.py
.
By default, the teacher gradients are stopped, but if you wish to change this, you can do so also in this configuration.
If you have any more questions, please let me know.
Aviad
from semimtr-text-recognition.
Thank you for reply :)
but still have some questions.
Would you explain more on how "model_fusion_teacher_student_ema.py" is called?
According to my test of your SemiMTR finetune scripts, "ConsistencyRegularizationFusionModel" model has about 36M trainable parameter and students and teacher use the same model parameters.
However, when using EMA, it seems that the parameters should be doubled because structure have to have a separate ABINetIterModel on student and teacher.
I set ema: True in the configuration file(semimtr_finetune.yaml), but trainable parameter has still 36M and looks not using TeacherStudentFusionEMA.
from semimtr-text-recognition.
Ah, I just checked another config line.
and it looks like it should be name: semimtr.modules.model_fusion_teacher_student_ema.TeacherStudentFusionEMA
instead of semimtr.modules.model_fusion_consistency_regularization.ConsistencyRegularizationFusionModel
if we apply EMA.
then TeacherStudentFusionEMA and ConsistencyRegularizationFusionModel cannot be executed simultaneously.
is it right ?
from semimtr-text-recognition.
Related Issues (14)
- Question about training time. HOT 1
- The shape of projector's input HOT 5
- Question about frame-to-instance implemenation HOT 1
- semimtr_finetune without language model use HOT 2
- I run !pip install -r requirements.txt then i config for mine then i run into this error.
- Is there an implementation of Seqclr? HOT 3
- Question about other languages support HOT 1
- NaN in input tensor HOT 2
- Why still calculate loss when conducting evaluation? and IndexError reported also HOT 5
- imgaug augmenters HOT 1
- Training stopped after 5 epochs while Semimtr finetuning HOT 2
- Evaluation results? HOT 1
- Image Size in One Batch. 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 semimtr-text-recognition.