question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
FraPochetticommented, Oct 26, 2020

I will make sure to take a look at it before tomorrow’s chat 😉

1reaction
FraPochetticommented, Oct 26, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found