Comments (6)
Thank you for your response. I lacked knowledge about the collate function. Following your advice, the error has been resolved. Thank you!
from lightning.
from lightning.
Thank you for making me realize my lack of knowledge. Thanks to you, I have an opportunity to study again (even though I just learned it from ChatGPT, haha). This program is the most complex and difficult one I have ever written, so I think I will continue to post issues. If you don't mind, I would appreciate your help in the future as well.
Thank you!
from lightning.
Hey @YuyaWake did you take a look at the full stack trace where this happened? You didn't post all of it, it's truncated, but if you look at it closely you'll be able to see in which module forward this happens, and then you can find where you need to pass the missing masks args.
from lightning.
I think I caught the error ....
The error is saying that forward function requires one more argument to be defined or putting it another way , you are passing arguments more than that expected by forward function.
Looking at your collate()
definition , it is returning 6 objects...
But forward is defined to take 5 objects except the self....
Pls correct the forward()
definition to remove this error....
Hope I could deliver my point...
Please put your take on it...
Thanks
from lightning.
from lightning.
Related Issues (20)
- Returning num_replicas=world_size when using distributed sampler in ddp
- Documentation: writing custom samplers compatible with multi GPU training
- Loading saved config file fails because of InterpolationMode HOT 1
- min_epochs and EarlyStopping in conflict HOT 1
- Make checkpoint saving fully atomic HOT 1
- Increase MlflowLogger parameter value length limit
- FSDPPrecision should support 16-true with a loss scaler HOT 1
- Hyperparameter logging with multiple loggers only works partially (TensorBoard and CSV)
- With yaml config file for LightningCLI, `self.save_hyperparameters()` behavior abnormal HOT 2
- Running `test` with LightningCLI, the program can quit before the test loop ends
- autocast to float16/bfloat16 fails on transformer encoder HOT 2
- [fabric.example.rl] Not support torch.float64 for MPS device
- Another profiling tool is already active
- Add truncated backpropagation through time (TBPTT) example HOT 1
- Handle gradient accumulations at the end of epoch differently HOT 1
- TransformerEnginePrecision _convert_layers(module) fails for FSDP zero2/zero3
- EarlyStopping override disrupts wandb logging frequency
- Show how to over-fit batches for real HOT 1
- Fabric example trainer fails with validation
- Logging with Fabric using steps 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 lightning.