BufferError: Existing exports of data: object cannot be re-sized #18447
Closed
Unanswered
mhenn44
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
@pytorch #QuantumDominator |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am brand new to pytorch lightning and am trying to just check that I can run pytorch lightning as intended before moving forward with anything. I have attempted two simple model codes from github and the pytorch lightning docs. Links to full code provided below and the github code has been reproduced below for ease of access
pytroch lightning docs : https://lightning.ai/docs/pytorch/stable/model/train_model_basic.html
simple model (github): https://github.com/Lightning-AI/lightning
I've been running both in Jupyter notebook and the training just stalls with no visible error. However when I look at my terminal I see BufferError: Existing exports of data: object cannot be re-sized
Does anyone have any experience with this? As I am new I suspect this is a very beginner question but I cannot seem to find a concrete answer to this within the context of pytorch lightning specifically.
torchvision v 0.15.2a0
lightning.pytorch v 2.0.8
CPU (no GPU available)
Thank you in advance for your help
Beta Was this translation helpful? Give feedback.
All reactions