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

Error #3

Open
JackHeroFly opened this issue Jul 13, 2021 · 5 comments
Open

Error #3

JackHeroFly opened this issue Jul 13, 2021 · 5 comments

Comments

@JackHeroFly
Copy link

Hello author,when I run train.py, it show '' ValueError: not enough values to unpack (expected 5, got 4)''.Breakpoint debug displays error from "super(Model, self).get_acdc_sup_data(data_path=self.acdc_data_path, repeat=False, seed=self.global_seed)". So,how can I solve this issue? Look forward your reply. Thank you.

@JackHeroFly
Copy link
Author

Actually, the function get_data() did not return the 'test_init' variable when training the model.

@gvalvano
Copy link
Owner

gvalvano commented Jul 13, 2021

Hi @JackHeroFly ! Could you share the entire error stack?

@JackHeroFly
Copy link
Author

ok,the errors are as follows:
File "F:/Code/3/Tf_version/train.py", line 29, in
model.build()
File "F:\Code\3\Tf_version\model.py", line 129, in build
self.get_data()
File "F:\Code\3\Tf_version\model.py", line 147, in get_data
super(Model, self).get_acdc_sup_data(data_path=self.acdc_data_path, repeat=False, seed=self.global_seed)
File "F:\Code\3\Tf_version\data_interface\dataset_wrapper.py", line 60, in get_acdc_sup_data
seed=seed
ValueError: not enough values to unpack (expected 5, got 4)

@mdessl
Copy link

mdessl commented Aug 14, 2022

Hi @gvalvano, thanks for sharing the repo! I am getting the same error. Have you found the bug? Thanks

@mdessl
Copy link

mdessl commented Aug 14, 2022

Nevermind. "File "F:\Code\3\Tf_version\data_interface\dataset_wrapper.py", line 60, in get_acdc_sup_data" expects the vars: train, valid, test, in, out. But the method ACDCSupInterface.get_data() does not return a test variable.

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

3 participants