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

Issue with output shape #17

Open
IamWangYunKai opened this issue Jan 23, 2021 · 0 comments
Open

Issue with output shape #17

IamWangYunKai opened this issue Jan 23, 2021 · 0 comments

Comments

@IamWangYunKai
Copy link

Hello, I am very interested in your work, and this code is very helpful to me. However, I still have some issues about oatomobile/oatomobile/torch/networks/sequence.py

  1. The default output_shape of AutoregressiveFlow is (4,2), and the trajectory consisting of 40 points is obtained by interpolating the 4 output points. Why not just output more points?
  2. If the output_shape of AutoregressiveFlow is not (4,2), e.g., (16,2), the output_sizes of self._locscale may be not right, and the following code will error out:
dloc_scale = self._locscale(z)
dloc = dloc_scale[..., :2]
scale = F.softplus(dloc_scale[..., 2:]) + 1e-3
y_t = (y_tm1 + dloc) + scale * x_t

So I change the output_sizes of self._locscale to a fixed [32, 4], but I don't know if this is appropriate.
3. I'm not very familiar with Autoregressive Flow, so I'm confused about the process of calculating y and logabsdet. I would appreciate it if you could tell me which paper has a description of this part of the calculation process.

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