Wandb + fastai + RCNN error
See original GitHub issue🐛 Bug
Describe the bug An error is raised (strack trace below) when training a rcnn model with fastai and wandb.
To Reproduce Train a RCNN model with fastai and the WandbCallback.
Expected behavior A clear and concise description of what you expected to happen.
Why is this happening
I believe the RCNNCallback
and the WandbCallback
are in conflict somehow. This error does not happen if the WandbCallback
is used or if efficientdet
is used instead of rcnn.
Stack Trace
/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
734 else:
--> 735 var = var[0]
736 grad_fn = var.grad_fn
TypeError: 'ImageList' object does not support indexing
...
During handling of the above exception, another exception occurred:
/usr/local/lib/python3.6/dist-packages/fastcore/foundation.py in __getattr__(self, k)
157 if self._component_attr_filter(k):
158 attr = getattr(self,self._default,None)
--> 159 if attr is not None: return getattr(attr,k)
160 raise AttributeError(k)
161 def __dir__(self): return custom_dir(self,self._dir())
AttributeError: 'Learner' object has no attribute 'smooth_loss'
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Using wandb.fastai with gan_critic() learner results in an error
I was wondering if anyone could provide some advice on how to correctly use wandb.fastai with a Learner that uses gan_critic().
Read more >MMDetection - Documentation - Weights & Biases
Sign up and Log in to wandb ... b) Pip install the wandb library ... This error indicates that the library is having...
Read more >Model Tracking Using Wandb - IceVision
In this tutorial, we are using the fastai library training loop, the efficientdet object detection model, and a sample dataset with images of...
Read more >VinBigData: EDA, Faster-RCNN, icevision [training] | Kaggle
Version 1: added EDA, augmentations, Faster-RCNN, icevision training mode + pytorch lightning, only positive examples. Version 3: added folds training, ...
Read more >fastai.pdf
It is based on research in to deep learning best practices undertaken at 'fast.ai', including 'out of the box' support for vision, text,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will make sure to take a look at it before tomorrow’s chat 😉
Is it ok if I look into this one as well (before diving together into KeyPoint detection)? I see it is already assigned to you @lgvaz