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

Argument missing #1

Open
jaypatravali opened this issue Mar 4, 2020 · 2 comments
Open

Argument missing #1

jaypatravali opened this issue Mar 4, 2020 · 2 comments

Comments

@jaypatravali
Copy link

Hi i am still early to the codebase but just want to get things running quickly.
if I run bash train_flyingchairs_flownetadf.sh
I get the following error.
main()
File "../main.py", line 73, in main
model_and_loss = config.configure_model_and_loss(args)
File "/home/jay/bayesian/lightprobnets/configuration.py", line 118, in configure_model_and_loss
model = typeinf.instance_from_kwargs(args.model_class, kwargs)
File "/home/jay/bayesian/lightprobnets/utils/type_inference.py", line 35, in instance_from_kwargs
instance = class_constructor(**filtered_args)
File "/home/jay/bayesian/lightprobnets/models/flownet_adf.py", line 138, in init
self._flownetadf = _FlowNetADF(args, keep_variance_fn=self._keep_variance_fn)
File "/home/jay/bayesian/lightprobnets/models/flownet_adf.py", line 56, in init
self._conv1 = make_conv( 6, 64, kernel_size=7, stride=2)
File "/home/jay/bayesian/lightprobnets/models/flownet_adf.py", line 54, in make_conv
keep_variance_fn=keep_variance_fn)
File "/home/jay/bayesian/lightprobnets/models/flownet_adf.py", line 22, in conv
stride=stride, padding=pad, bias=bias, keep_variance_fn=keep_variance_fn),
File "/home/jay/bayesian/lightprobnets/contrib/adf.py", line 152, in init
False, _pair(0), groups, bias)
TypeError: init() takes exactly 12 arguments (11 given)

@ezjong
Copy link
Owner

ezjong commented Mar 10, 2020

Interesting, I will have a look at this on the weekend. I don't think this should be a big issue (I hope^)

@jaypatravali
Copy link
Author

Yeah, please let us know. We are looking to add your model in our method comparison

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