Comments (4)
How many epochs can you train? After I modify the epoch, it always ends after epoch9
from matrn.
@yiren556
I didn't modify any hyperparameters and the training ended at the 9th epoch.
from matrn.
This is the result of my debugging, I don't understand why it stops
from matrn.
Hi, sorry for late reply and thank you for your interest.
I think you may change charset_path
in template.yaml
from 'data/charset_62.text' to your own charset, and case_sensitive
to True.
As you know, pre-trained language and vision models are trained on 36 characters. Therefore, you need to train these pre-trained models on 90 characters, or you may load these pre-trained models without the final classification layer, which is related to the size of character set.
I think this link is useful to ignore size mismatch problem. (Lightning-AI/pytorch-lightning#4690 (comment))
Apply this methods to loading pre-trained model, which are in below:
Lines 17 to 19 in 57b6b8e
MATRN/modules/model_language.py
Line 39 in 57b6b8e
Line 39 in 57b6b8e
from matrn.
Related Issues (20)
- Demo to add? HOT 2
- handwriting HOT 1
- Question about code HOT 1
- Question about the usage of text input HOT 3
- Question about the performance of pre-trained model that the link contains. HOT 4
- Has your paper been accepted? HOT 1
- vision and language model training HOT 2
- Question about reproducing. HOT 2
- Error about the model when using resnet as the backbone. HOT 1
- About Code in Line 81 of main.py HOT 1
- Training always ends HOT 3
- Training on Non-Latin Languages HOT 1
- Question about metrics HOT 2
- Question about pretraining on language model HOT 5
- change input image size error HOT 2
- Question about evaluation on each dataset HOT 2
- The calculation of accuracy prediction in evaluation dataset HOT 2
- 作者你好,请问你论文里多模态中交叉注意力可视化在代码哪个部分 HOT 6
- LMDB Dataset & Loss Function Calculation
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 matrn.