tsrobinson / SyGNet

Synthetic data using Generative Adversarial Networks
GNU General Public License v3.0
11 stars 2 forks source link

n_heads divisor issue #44

Closed tsrobinson closed 1 year ago

tsrobinson commented 1 year ago

In @antndlcrx original code, the number of heads was hardcoded to ensure that the input size was exactly divisible. I have not incorporated an automatic way of handling this, so currently I expect it will not fail gracefully.

We can fix this pretty easily, by returning an error message (and maybe make a suggestion for the sizes based on the supplied number of heads).