Submit your use case or success story to the 2023 edition of the Dataiku Frontrunner Awards ENTER YOUR SUBMISSION

Define shared variables during model training

pratikgujral-sf
Level 2
Define shared variables during model training

Hi Community,

I have a Deep Learning model in Visual Analysis. I need to have a few variables that should be accessible between Architecture and Feature Handling. These variables have to be computed at any one place, and then reused across build_model as well as feature handling. 

 

How and where do I declare such variables? Note the values are not static but are computed using Python. However, once set, the values are required to be used across the places mentioned above.

I came across 

from dataiku.doctor.deep_learning.shared_variables import get_variable

but could not find any documentation or code examples on setting their values.


Operating system used: Red Hat Enterprise Linux


Operating system used: Red Hat Enterprise Linux

0 Kudos
0 Replies