We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.12.9 labelme==5.8.1 osam==0.2.3
Windows11
When download sam model, osam use hash as local file name, but hash contains ":" and can't as file name in windows.
osam/types/_blob.py class Blob: url: str hash: str
@property def path(self): return os.path.expanduser(f"~/.cache/osam/models/blobs/{self.hash}")
may fix as:
class Blob: url: str hash: str
@property def path(self): return os.path.expanduser(f"~/.cache/osam/models/blobs/{self.url.split("/")[-1]}")
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Provide environment information
Python 3.12.9
labelme==5.8.1
osam==0.2.3
What OS are you using?
Windows11
Describe the Bug
When download sam model, osam use hash as local file name, but hash contains ":" and can't as file name in windows.
osam/types/_blob.py
class Blob:
url: str
hash: str
Expected Behavior
may fix as:
class Blob:
url: str
hash: str
To Reproduce
No response
The text was updated successfully, but these errors were encountered: