Comments (7)
Am I correct in assuming that what you want is not hyperparameters, but that input parameters to a pipeline should be exposed in the Pipelines UI? If so, I definitely agree, and it's on my plate of things to do. Let's keep this as a feature request to track the work.
from tfx.
Pipeline parameters, yes. Hyperparameters, maybe. What is the suggested approach for hyperparameters if not through the UI?
from tfx.
I'm also looking for a way to define a value once and have it available in every piece of code. This is especially difficult because the *_utils file is completely separated from the pipeline definition. For now the easiest way is to hard-code your values at the top of the *_utils file, and also do the same in the pipeline definition.
In my case I have a one_hot_encoding that influences the query in the pipeline definition and that same number is needed in the transform in the utils file where I actually encode them. The value i'm trying to pass is the vocabulary size
from tfx.
@DurivetMatthias Ah interesting! Just so I understand correctly, you want an input parameter to a KFP pipeline to be accessible to both the query (which is defined in the pipeline definition file), as well as to some functions defined in the module file that's used as input to Transform?
from tfx.
Exactly
from tfx.
\cc @krazyhaas
We are internally discussing to establish a design pattern to define and pass around intra-component parameter (such as num_steps for Trainer), inter-component parameter applicable to more than one component that needed to be kept in sync (such as @DurivetMatthias case) and pipeline-level global parameter.
from tfx.
Duplicate of #362
from tfx.
Related Issues (20)
- [Request] Update to Apache Beam 2.52.0, enable Beam 2.46.0 compatibility HOT 5
- How to pass airflow task configuration to one custom component? HOT 3
- Error executing pip install tfx in new conda environment with python 3.10 HOT 6
- installing tfx 1.13.0 by pip takes so much time HOT 5
- TFX trainer component running in Kubeflow fails although it was successful in the Interactive Context HOT 8
- TFX components in GCP does not display component logs in GCP Vertex AI HOT 17
- DataFlow Job in TFX pipeline fails after running for an hour HOT 6
- TFX component never completes even though Vertex AI custom job succeeds / fails HOT 8
- Upgrade Tensorflow version HOT 3
- documentations for driver class HOT 2
- Custom driver support for KubeflowV2DagRunner HOT 3
- Error when starting Evaluator component HOT 6
- TFX 1.15.0 Issues HOT 1
- R2Score Metric is incompatible with Evaluator Component HOT 2
- Version issues with Savemodel
- Version Issues with Estimator SaveModel
- Python-snappy not found during execution of CSVExampleGen HOT 1
- Dependency Version Constraints error in release notes for version 1.15.0 HOT 1
- TFX for small, single-laptop workflows HOT 4
- TFX 1.15 docker image contains conflicting dependencies HOT 2
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 tfx.