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

How to use the ble_wind_field/small dataset in BLE for training a VAE? #24

Open
1jskk opened this issue Jun 12, 2024 · 2 comments
Open

Comments

@1jskk
Copy link

1jskk commented Jun 12, 2024

How to use the ble_wind_field/small dataset in BLE for training a VAE?
What is the purpose of this dataset?
How should it be used?

I am working with the Balloon Learning Environment (BLE) and I need to use the ble_wind_field/small dataset. I would like to know if this dataset can be used for training a Variational Autoencoder (VAE), and if so, how to write the code to achieve this.

Installed BLE as per the official documentation.
I ‘ve already Loaded the dataset using the following code
import numpy as np
import tensorflow as tf
import tensorflow_datasets as tfds

ds = tfds.load('ble_wind_field/small', split='train', shuffle_files=True, data_dir='datasets')
assert isinstance(ds, tf.data.Dataset)
print(ds)

ds = ds.take(1) # Only take a single example
len = 0
for i in tfds.as_numpy(ds):
print(i['field'].shape)
print(i)
len += 1
print('data length:',len)

My question
Can the ble_wind_field/small dataset be used for training a VAE?
If so, how can I write the code to preprocess this dataset and train a VAE?

Any code snippets or examples would be greatly appreciated.
If there are any specific files or configurations needed, please let me know.
Thank you for your help!

@szuhyz
Copy link

szuhyz commented Jun 24, 2024

好像generative
/learn_wind_field_generator.py文件中提供了如何训练VAE。我对训练此生成模型也非常感兴趣,如果你想进一步交流可以留下你的微信。

@1jskk
Copy link
Author

1jskk commented Jun 30, 2024

好的,方便的话可以直接添加我的微信:a1206924127

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