Skip to content
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

AlpacaClient() instance is dead #10

Open
greenspray9 opened this issue Apr 24, 2020 · 0 comments
Open

AlpacaClient() instance is dead #10

greenspray9 opened this issue Apr 24, 2020 · 0 comments

Comments

@greenspray9
Copy link

Hi, After I have at least 10 entries, I am waiting for the model to train but it never does so I ran the code in debug version. I see that alpaca_client instance times out without initialization. Is this a known issue?

The error is particularly generated by this code

def alpaca_online_learning(train_docs, annotations, epoch, batch):
    global alpaca_client
    response = alpaca_client.online_learning(train_docs, annotations, epoch, batch)
    if response == 'error':
        print('error')
        time.sleep(2)
        alpaca_client.online_learning(train_docs, annotations, epoch, batch)

alpaca_client is None so the whole function cannot execute.

@greenspray9 greenspray9 changed the title alpaca_client instance is dead AlpacaClient() instance is dead Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant