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

Dataset and feeding #10

Open
edgmin opened this issue Dec 16, 2021 · 1 comment
Open

Dataset and feeding #10

edgmin opened this issue Dec 16, 2021 · 1 comment

Comments

@edgmin
Copy link

edgmin commented Dec 16, 2021

Hello Lu,

First of all many thanks for your efforts and for making deepxde available, it is really useful.

I am trying to reimplement the multifidelity network alone in Pytorch. As I am not very familiar with TensorFlow, I am struggling a bit to properly understand. I would be happy if you could give me some advice.

As I understood, at least when using tensorflow backend, the number of epochs corresponds to a single pass over all samples on a dataset. In the case of multifidelity networks, we have the low and multifidelity datasets (forget about the experimental dataset for now) which, if I understood well, are employed simultaneously to train the low and high fidelity 'portions' of the multifidelity model. My quesiton is, what do you do when for example one dataset has less points than the other?

Takes this as an example: the high fidelity network need as input the 'low fidelity prediction' of a low fidelity sample 'concatenated' with a high fidelity sample. What if one of the datasets, lets say the low fid has already used all samples? Do you starting sampling from the dataset again till the total number of iterations (epochs over the dataset) is done? Do you use sample replacement or do you use all samples them start sampling from the dataset again?

Thanks in advance.

@lululxvi
Copy link
Owner

If this is a question related to DeepXDE, but not specific to indentation, then ask the question in DeepXDE github page.

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

2 participants