https://github.com/echo-hello-world424/submission_client
The source code of a conda package designed for kelvinlby/submission
https://github.com/echo-hello-world424/submission_client
grpc protobuf python3
Last synced: about 2 months ago
JSON representation
The source code of a conda package designed for kelvinlby/submission
- Host: GitHub
- URL: https://github.com/echo-hello-world424/submission_client
- Owner: ECHO-HELLO-WORLD424
- License: gpl-3.0
- Created: 2024-10-28T13:59:50.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-07T05:19:47.000Z (over 1 year ago)
- Last Synced: 2024-12-18T21:44:57.513Z (over 1 year ago)
- Topics: grpc, protobuf, python3
- Language: Python
- Homepage:
- Size: 105 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# submission_client
- This is the source code of a conda package designed for kelvinlby/submission
- It is designed to send data generated during ML training process to submission
# Attention
- Please install grpcio & grpcio-tools from conda-forge channel manually
- If something happens to the "libmamba.so.20" in your conda, refer to this issue ContinuumIO/anaconda-issues/issues/13353
# Installation
- Install grpcio & grpcio-tools
> make sure that you have both grpcio & grpcio-tools 1.67.0 or newer
```shell:
conda install -c conda-forge grpcio
conda install -c conda-forge grpcio-tools
```
- Run this command in the terminal
```shell
conda install patrick_echo_hello_world::submission
```
# Usage
- import this module in python
```Python
from submission import *
```
- To start a job in submission, use
```Python
start_job(NAME)
```
- To log your job in submission, use
```Python
log_job(NAME, VALUE)
```
- To log a metric in submission, use
```Python
log_metric(NAME, VALUE)
```
- To end a job in submission, use
```Python
end_job(NAME)
```