question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How do I pass in a list of inputs?

See original GitHub issue

In most talos code examples, X input seems to be a 2D numpy array. But in some of my keras models, it requires a list of 2D numpy arrays because my models are not Sequential. Example list: [numpyarray1, numpyarray2, numpyarray3].

It seems that when I try to pass this list to the ta.Scan function, things break.

How do I pass in a list of inputs?

Also, I’m not sure if talos supports pandas DataFrame or not. But I think it does not support so please do make support for it.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:33 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
mikkokotilacommented, Nov 21, 2018

@off99555 I’ve made the changes on my local branch to support the case where input is a list of arrays. Because this is in the mainline of the program, it will take a little bit time before it will make its way to production, but I think I should be able to have it in daily-dev in the next few days (if not already later today). Thanks for making the case.

1reaction
mikkokotilacommented, Nov 17, 2018

Thanks, I checked it and everything seems to be in place. I’m working on something else at the moment, but most likely later this evening would spend sometime learning about this problem.

Very cool prediction problem you are working on.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python | Get a list as input from user - GeeksforGeeks
In this article, we will see how to get as input a list from the user. Examples: Input : n = 4, ele...
Read more >
How to pass a list as an input of a function in Python
This uses the map function, which takes a list and a function, and returns a new list where that function has been applied...
Read more >
Python Passing a List as an Argument - W3Schools
You can send any data types of argument to a function (string, number, list, dictionary etc.), and it will be treated as the...
Read more >
Python Accept List as a input From User - PYnative
Input a list using the map function · First, decide the list size. · Next, accept numbers from the user separated by space...
Read more >
How To Input A List In Python - Edureka
This article will introduce you to different ways to input a list in Python and give you a detailed programmatic demonstration.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found