outerbounds / metaflow-card-notebook Goto Github PK
View Code? Open in Web Editor NEWRender Jupyter Notebooks With Metaflow Cards
License: Apache License 2.0
Render Jupyter Notebooks With Metaflow Cards
License: Apache License 2.0
I've just done the first example here and it works super smoothly and the output looks great.
It isn't obvious where notebooks have been used at all and that seems odd, unless I'm missing something?
I suppose from the example it isn't clear why they are called "notebook" cards?
Hello
This is my simple flow
I want to run my notebook first 5-6 cell work correctly
But last few cell always get KeyboardInterrupt: error
My flow dont throw any exception
But when i enter [_rendered_1679995435861952_end_2_model_examle.ipynb] i saw the error
What could be wrong here
Flow Output
2023-03-28 12:23:55.865 Workflow starting (run-id 1679995435861952):
2023-03-28 12:23:55.875 [1679995435861952/start/1 (pid 8060)] Task is starting.
2023-03-28 12:23:56.722 [1679995435861952/start/1 (pid 8060)] Start
2023-03-28 12:23:56.861 [1679995435861952/start/1 (pid 8060)] Task finished successfully.
2023-03-28 12:23:56.871 [1679995435861952/end/2 (pid 8161)] Task is starting.
2023-03-28 12:24:45.329 [1679995435861952/end/2 (pid 8161)] Task finished successfully.
2023-03-28 12:24:45.330 Done!
My Flow
from metaflow import FlowSpec, step, current, Parameter, card, resources
class LinearFlow(FlowSpec):
@step
def start(self):
print("Start")
self.next(self.end)
@card(type='notebook')
@step
def end(self):
self.nb_options_dict = dict(input_path='../notebooks/model_examle.ipynb')
if __name__ == '__main__':
LinearFlow()
The readme section Dependency Management contains a mistake. Line 5 of the code snippet should be
os.system(f"{sys.executable} -m pip ipykernel>=6.4.1 papermill>=2.3.3 nbconvert>=6.4.1 nbformat>=5.1.3") self.nb_options_dict = dict(input_path='nbflow.ipynb')
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.