You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there doesn't seem to be a nice way of interfacing a batch with a model with multiple inputs/outputs. This list comprehension works, but I think there could be a more elegant solution.
model.fit([batch[x] for x in (sc.stencil_2D + sc.stencil_3D + sc.vanilla)],
[batch[x] for x in sc.target])
From here, it would be possible to index with a list and get a list back. So, ideally I'd like to have something like
@cmdupuis3 - I know this has sat for a while but do you think you could expand a bit on your use case? Even better if you could provide a simple demo that articulates how you are creating your batches and what data shapes you expect to pass to your model. For example, it is difficult to tell what sc is supposed to be in your example.
Currently, there doesn't seem to be a nice way of interfacing a batch with a model with multiple inputs/outputs. This list comprehension works, but I think there could be a more elegant solution.
From here, it would be possible to index with a list and get a list back. So, ideally I'd like to have something like
without the list comprehension boilerplate.
The text was updated successfully, but these errors were encountered: