You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Container logs:
mq92j 2023-03-16T09:49:18.819Z /home/user/.local/lib/python3.8/site-packages/gradio/inputs.py:256: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
mq92j 2023-03-16T09:49:18.819Z warnings.warn(
mq92j 2023-03-16T09:49:18.819Z /home/user/.local/lib/python3.8/site-packages/gradio/deprecation.py:40: UserWarning: `optional` parameter is deprecated, and it has no effect
mq92j 2023-03-16T09:49:18.819Z warnings.warn(value)
mq92j 2023-03-16T09:49:18.819Z /home/user/.local/lib/python3.8/site-packages/gradio/outputs.py:196: UserWarning: Usage of gradio.outputs is deprecated, and will not be supported in the future, please import your components from gradio.components
mq92j 2023-03-16T09:49:18.819Z warnings.warn(
mq92j 2023-03-16T09:49:18.819Z /home/user/.local/lib/python3.8/site-packages/gradio/deprecation.py:40: UserWarning: The 'type' parameter has been deprecated. Use the Number component instead.
mq92j 2023-03-16T09:49:18.819Z warnings.warn(value)
mq92j 2023-03-16T09:49:18.875Z /home/user/.local/lib/python3.8/site-packages/gradio/interface.py:313: UserWarning: Currently, only the 'default' theme is supported.
mq92j 2023-03-16T09:49:18.875Z warnings.warn("Currently, only the 'default' theme is supported.")
mq92j 2023-03-16T09:49:19.412Z IMPORTANT: You are using gradio version 3.1.1, however version 3.14.0 is available, please upgrade.
mq92j 2023-03-16T09:49:19.412Z --------
mq92j 2023-03-16T09:49:19.413Z Caching examples at: '/home/user/app/gradio_cached_examples/12/log.csv'
mq92j 2023-03-16T09:49:19.439Z Traceback (most recent call last):
mq92j 2023-03-16T09:49:19.439Z File "app.py", line 26, in <module>
mq92j 2023-03-16T09:49:19.439Z intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
mq92j 2023-03-16T09:49:19.439Z File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 599, in __init__
mq92j 2023-03-16T09:49:19.440Z self.examples_handler = Examples(
mq92j 2023-03-16T09:49:19.440Z File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 154, in __init__
mq92j 2023-03-16T09:49:19.440Z self.cache_interface_examples()
mq92j 2023-03-16T09:49:19.440Z File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 189, in cache_interface_examples
mq92j 2023-03-16T09:49:19.440Z raise e
mq92j 2023-03-16T09:49:19.440Z File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 185, in cache_interface_examples
mq92j 2023-03-16T09:49:19.440Z prediction = self.process_example(example_id)
mq92j 2023-03-16T09:49:19.440Z File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 205, in process_example
mq92j 2023-03-16T09:49:19.440Z predictions = self.fn(*processed_input)
mq92j 2023-03-16T09:49:19.440Z File "app.py", line 17, in classify_image
mq92j 2023-03-16T09:49:19.440Z pred,idx,probs = learn.predict(img)
mq92j 2023-03-16T09:49:19.440Z File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 321, in predict
mq92j 2023-03-16T09:49:19.440Z inp,preds,_,dec_preds = self.get_preds(dl=dl, with_input=True, with_decoded=True)
mq92j 2023-03-16T09:49:19.440Z File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 308, in get_preds
mq92j 2023-03-16T09:49:19.440Z self._do_epoch_validate(dl=dl)
mq92j 2023-03-16T09:49:19.440Z File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 244, in _do_epoch_validate
mq92j 2023-03-16T09:49:19.440Z with torch.no_grad(): self._with_events(self.all_batches, 'validate', CancelValidException)
mq92j 2023-03-16T09:49:19.440Z File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 199, in _with_events
mq92j 2023-03-16T09:49:19.440Z try: self(f'before_{event_type}'); f()
mq92j 2023-03-16T09:49:19.440Z File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 205, in all_batches
mq92j 2023-03-16T09:49:19.440Z for o in enumerate(self.dl): self.one_batch(*o)
mq92j 2023-03-16T09:49:19.440Z File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 235, in one_batch
mq92j 2023-03-16T09:49:19.440Z self._with_events(self._do_one_batch, 'batch', CancelBatchException)
mq92j 2023-03-16T09:49:19.440Z File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 199, in _with_events
mq92j 2023-03-16T09:49:19.440Z try: self(f'before_{event_type}'); f()
mq92j 2023-03-16T09:49:19.440Z File "/home/user/.local/lib/python3.8/site-packages/fastai/learner.py", line 216, in _do_one_batch
mq92j 2023-03-16T09:49:19.440Z self.pred = self.model(*self.xb)
mq92j 2023-03-16T09:49:19.440Z File "/home/user/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
mq92j 2023-03-16T09:49:19.440Z return forward_call(*input, **kwargs)
mq92j 2023-03-16T09:49:19.440Z File "/home/user/.local/lib/python3.8/site-packages/torch/nn/modules/container.py", line 141, in forward
mq92j 2023-03-16T09:49:19.440Z input = module(input)
mq92j 2023-03-16T09:49:19.440Z File "/home/user/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
mq92j 2023-03-16T09:49:19.441Z return forward_call(*input, **kwargs)
mq92j 2023-03-16T09:49:19.441Z File "/home/user/.local/lib/python3.8/site-packages/fastai/vision/learner.py", line 177, in forward
mq92j 2023-03-16T09:49:19.441Z def forward(self,x): return self.model.forward_features(x) if self.needs_pool else self.model(x)
mq92j 2023-03-16T09:49:19.441Z File "/home/user/.local/lib/python3.8/site-packages/timm/models/convnext.py", line 397, in forward_features
mq92j 2023-03-16T09:49:19.441Z x = self.stem(x)
mq92j 2023-03-16T09:49:19.441Z File "/home/user/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
mq92j 2023-03-16T09:49:19.441Z return forward_call(*input, **kwargs)
mq92j 2023-03-16T09:49:19.441Z File "/home/user/.local/lib/python3.8/site-packages/torch/nn/modules/container.py", line 141, in forward
mq92j 2023-03-16T09:49:19.441Z input = module(input)
mq92j 2023-03-16T09:49:19.441Z File "/home/user/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
mq92j 2023-03-16T09:49:19.441Z return forward_call(*input, **kwargs)
mq92j 2023-03-16T09:49:19.441Z File "/home/user/.local/lib/python3.8/site-packages/timm/models/layers/norm.py", line 67, in forward
mq92j 2023-03-16T09:49:19.441Z if self._fast_norm:
mq92j 2023-03-16T09:49:19.441Z File "/home/user/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1185, in __getattr__
mq92j 2023-03-16T09:49:19.441Z raise AttributeError("'{}' object has no attribute '{}'".format(
mq92j 2023-03-16T09:49:19.441Z AttributeError: 'LayerNorm2d' object has no attribute '_fast_norm'
The text was updated successfully, but these errors were encountered:
If I try to look at the app I get a Runtime error
https://huggingface.co/spaces/jph00/pets
Maybe a dependency issue?
Here is the log
The text was updated successfully, but these errors were encountered: