Comments (2)
Hi @mrzv!
The documentation is actually correct, that's (almost) the type annotation of os.PathLike
(https://docs.python.org/3/library/os.html#os.PathLike). So, you can path a file path as bytes (as stated in the docs), but no raw binary data. It's meant to log artifact files that you already created. Raw data wouldn't work with all observers (currently).
What is your use-case that you can't dump the file to disk before logging?
from sacred.
Oh, I see. I must misunderstand the meaning of bytes in this case. My use case doesn't prevent me from dumping the file to disk, it's just an extra, inconvenient step, when the data's only purpose is to land in sacred's database.
from sacred.
Related Issues (20)
- Error when importing FileStorageObserver HOT 1
- Question - is there a way to export sacred results off-computer? HOT 7
- It is not compatible with Python3.10 HOT 2
- Is there any developer community like Slack?
- MD5 hash for gridfs is deprecated
- AssertionError while running a notebook through ipython HOT 1
- Non-loadable classes in config files are silently ignored
- Fail to run the starter example HOT 3
- Fail to access the third party library mentioned in the readme HOT 2
- Progress bar + file observer = tee timeout error
- gather_sources_and_dependencies fails in notebooks with ipykernel 6.21.0 HOT 2
- Does Sacred support automatic data versioning? HOT 1
- Adding period to name argument of Experiment modifies function names. HOT 2
- ValueError: Reference at 'refs/heads/master' does not exist HOT 4
- How to pass arbitrary dict like kwargs in config without warnings HOT 4
- how to make the config.json file saved correctly ? HOT 4
- Exception originated from within Sacred. KeyError: 'Invalid key "DogmaticDict.__setitem__". Config-keys cannot contain "." or start with "$"' HOT 3
- Access sub-ingredient's config HOT 12
- Silenced errors in Observers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sacred.