Comments (4)
Interesting. I will dive into this issue.
from ormb.
Do you have any clue about it now?
from ormb.
I'm actually getting more confused now. I run the following:
$ docker pull python:3.7-slim
$ docker run --rm -it --entrypoint /bin/bash python:3.7-slim
root@:/$ apt-get update
root@:/$ apt-get install vim-tiny -y
root@:/$ vi home/.env # populating my harbor credentials
root@:/$ mkdir home/test-model
root@:/$ mkdir home/test-model/model
root@:/$ touch home/test-model/model/test-model.joblib
root@:/$ echo "format: SKLearn" >> home/test-model/ormbfile.yaml
root@:/$ pip install python-dotenv ormb
root@:/$ python
Python 3.7.12 (default, Dec 21 2021, 11:35:10)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> import ormb
>>> import dotenv
>>> dotenv.load_dotenv(dotenv_path="home/.env")
True
>>> username = os.getenv("HARBOR_USERNAME")
>>> password = os.getenv("HARBOR_PASSWORD")
>>> ormb.login(hostname="****", username=username, password=password, insecure_opt="true")
Using /root/.ormb as the root path
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Login insecurely
WARN[0000] insecure registry **** should not contain 'https://' and 'https://' has been removed from the insecure registry config
Login succeeded
0
>>> ref = "****"
>>> ormb.save(src="home/test-model", ref=ref)
Using config file: /root/.ormb/config.json
Using /root/.ormb as the root path
ref: ****
digest: 705e6b425763259c7a743b9ea2abcb9228cc85374f72ecc6a96535f55aa2f781
size: 113 B
format: SKLearn
: saved
0
>>> ormb.push(ref=ref)
Using config file: /root/.ormb/config.json
Using /root/.ormb as the root path
The push refers to repository [****]
ref: ****
digest: 705e6b425763259c7a743b9ea2abcb9228cc85374f72ecc6a96535f55aa2f781
size: 113 B
format: SKLearn
: pushed to remote (1 layer, 113 B total)
0
which resulted in no directoryStructure
metadata field set at all...
from ormb.
I cannot reproduce it locally with ormb binary. I will try the python sdk.
from ormb.
Related Issues (20)
- 您好,在部署“使用 Seldon Core 启动模型服务”是遇到问题
- Push failed for Harbor v1.10.1 HOT 3
- Support other stateful ML artifacts like transformers HOT 4
- Ease packaging and publishing process in python HOT 3
- Python SDK installs Linux pre-compiled binaries on Mac OS HOT 3
- [feature] Add support for `pickle` format
- 您好,在部署“使用 Seldon Core 启动模型服务”是遇到问题 HOT 7
- Export command destination parameter not used without its `-d` flag HOT 4
- ORMB login should work with docker token HOT 8
- SeldonDeployment 的pod没有ready HOT 1
- ORMB python sdk setup.py imports requests before installing it
- Refactor with oras-go
- [feature] Use DockerHub remote registry - Cannot Push HOT 3
- Long term vision between ORMB and ORAS HOT 3
- New release HOT 9
- Broken python sdk PyPI release
- BUG REPORT: urgent HOT 1
- [Bug] Save/Tag interpret numeric tags as port numbers
- ormb save/ ormb push 看不到进度,模型资源大时以为死掉了
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 ormb.