New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
example of how to use Element
?
#62
Comments
I should admit that I haven't made this part clear enough in the doc, and I'll try to clarify it ASAP 🤣 The conclusions are:
auto.fit(..., extra_config={...}) And the usage of
I've also provided an example there: import cflearn
m = cflearn.make(cuda="cpu")
print(m.device) # cpu And the equivalent from cflearn.configs import *
from cflearn.pipeline import Pipeline
elements = Elements(cuda="cpu", user_config={}, user_increment_config={})
environment = Environment.from_elements(elements)
m = Pipeline(environment)
print(m.device) # cpu The elements = Elements(cuda="cpu") If problems still remain, feel free to comment here anytime! 😄 |
Documentation on Define Search Spaces has been updated! |
Can you include an example in the docs of how to use Elements?
I don't understand how to the config management fits into
Auto
andfit
or am I not supposed to use a custom config with Auto?is the
Elements
just the internal structure that you use to store a config json or am I supposed to create an Elements object then update values in that?The text was updated successfully, but these errors were encountered: