Git Product home page Git Product logo

metaflow-card-notebook's People

Contributors

hamelsmu avatar hugobowne avatar obgibson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

metaflow-card-notebook's Issues

Notebooks in examples?

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?

Notebook Key Interrupted Error

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()

Mistake in README.md

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')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.