Comments (2)
Logging is misleading. it prints accumulation steps too. But you see no grad norm since those steps are not immediately used for stepping the optimizer.
So actually it works fine but logging needs checking.
from trainer.
Oh, so that's why grad_norm
only appears sometimes?
Now I think the only thing that needs to be checked out is the logging/step counter. I'm currently training at batch 4 and grad_accum 4, yet it shows the steps for a effective batch size of 4, so it becomes a little confusing once in a while.
But thanks anyways
from trainer.
Related Issues (20)
- [Bug] ValueError: not allowed to raise maximum limit (rlimit) HOT 1
- [Bug] Unable to run distributed training using TTS recipe for yourtts
- [Bug]
- [Bug] AttributeError: module 'torch' has no attribute 'autocast'
- [Bug] trainer.distribute not working HOT 1
- Remove AMP HOT 1
- [Bug] Hardcoded argument parsing on distribute.py preventing other options to be passed when using TrainerArgs
- [Feature request] Multi-node training HOT 2
- [Bug] Errors when running VITS in distributed DDP mode
- [Bug] Trainer saves the given config to ClearML rather than the continued config
- [Feature request] Upload the training script to the tracking dashboard. HOT 1
- [Bug] Gradient accumulation breaks GAN training with Discriminator feature loss
- [Feature request] Reset best loss when restoring from checkpoint in order to keep best model of fine-tuning HOT 1
- [Bug] data = [self.dataset[idx] for idx in possibly_batched_index] TypeError: 'int' object is not iterable HOT 2
- [Bug] Tests taking forever
- Package is marked as platform-independent, but it does not import on Windows HOT 6
- [Bug] Outputs referenced before assignment error while using YourTTS recipe HOT 2
- [Bug] Cannot restore YourTTS model HOT 1
- [Feature request] Save a checkpoint when interrupting the training (ctrl - c) HOT 8
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 trainer.