model <> string conversions with json
Project description
uninas
This repository provides a framework to create instances of UNINas search space and walk through the space.
Testing
Initial string format
The string is structured by stages and blocks (i.e. a list of lists), i.e. MODEL_STRING='[["E", "E"], ["E", "R", "R"], ["T", "T", "T", "T", "T"], ["E", "R"]]'. We support the following number of stages and blocks: (2, 3, 5, 2).
In this example, the respective characters denote blocks corresponding to:
TTransformerEEfficientNetRResNet
Instead of these variants (T, E, R), any plausible structure of the following form can be used:
{'subblock1': XXX, 'subblock2': YYY},
where XXX and YYY is a recursive graph representation obtained via each Node's method .to_string(). An example corresponding to MODEL_STRING='[["E", "E"], ["E", "R", "R"], ["T", "T", "T", "T", "T"], ["E", "R"]]' can be found in model_string.txt
python test.py --init-model <MODEL_STRING>
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uninas-1.1.0.tar.gz.
File metadata
- Download URL: uninas-1.1.0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09c0ef01c03d60e2c72963f64c6bf6eaf8d20a5174e5221b824c62d5e129eb15
|
|
| MD5 |
f65640a904aa4e89a1e485758f7e917b
|
|
| BLAKE2b-256 |
f12e3fa0b903cfd42e955f6d73b9231a254ed1f3ad433894ca1cbaf48ebd219b
|
File details
Details for the file uninas-1.1.0-py3-none-any.whl.
File metadata
- Download URL: uninas-1.1.0-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2115452f26142ee4d5782f460da5d728ab8125da61d5c4f5d1041a5228b42256
|
|
| MD5 |
d49c850490d4f4a652eba22333fd603c
|
|
| BLAKE2b-256 |
3c543e4fcd9471527cc15b169589e88ff35aa0a603ef79bcf06185bdadf1f302
|