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.

Unable to extract Metrics

See original GitHub issue

I am currently using segmentation-models-pytorch 0.2.1, and tried installing from source as mentioned on the website(https://smp.readthedocs.io/en/latest/metrics.html#module-segmentation_models_pytorch.metrics.functional), But I am unable to use the get_status function,

import segmentation_models_pytorch as smp
dir(smp)
>>output
['DeepLabV3',
 'DeepLabV3Plus',
 'FPN',
 'Linknet',
 'MAnet',
 'Optional',
 'PAN',
 'PSPNet',
 'Unet',
 'UnetPlusPlus',
 '__builtins__',
 '__cached__',
 '__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__path__',
 '__spec__',
 '__version__',
 'base',
 'create_model',
 'deeplabv3',
 'encoders',
 'fpn',
 'linknet',
 'losses',
 'manet',
 'pan',
 'pspnet',
 'torch',
 'unet',
 'unetplusplus',
 'utils'] 

When I go in Utils, I see Metrics, but within Metrics, there seems to be no “get_status” as elucidated in the Examples.

dir(smp.utils.metrics)
['Accuracy',
 'Activation',
 'F',
 'Fscore',
 'IoU',
 'Precision',
 'Recall',
 '__builtins__',
 '__cached__',
 '__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__spec__',
 'base']

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
2649commented, Feb 8, 2022

Just install from the repo directly: pip install git+https://github.com/qubvel/segmentation_models.pytorch

1reaction
qubvelcommented, Feb 3, 2022

I have bumped the version in source, its now should be 0.3.0-dev

Read more comments on GitHub >

github_iconTop Results From Across the Web

sensu-agent unable to extract InfluxDB metric from check ...
I have a check that extracts some metrics regarding disk health and tries to send them to an InfluxDB instance using an Influx...
Read more >
Inserting nagios check return values into InfluxDB - Sensu Go
I'm labbing up Sensu at the moment with a check that formats data in nagios check ... "error":"unable to extract metric from check...
Read more >
Unable to extract value for particular text field alone ...
Hi Team, I'm trying to extract datas form multiple invoice PDFs. I've added a ML skill by data labelling the fields I needed....
Read more >
PM61661: UNABLE TO PUBLISH METRICS EXTRACT ... - IBM
If an extract contains a prompt, and the value of the prompt is set within the Metrics Designer session, any attempt to publish....
Read more >
Failed to extract data into Google Data Studio - Reddit
Failed to extract data into Google Data Studio: Failed to execute connection with error. The extract is set to auto-update each day but...
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