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 in train.py #7

Closed
ialex2004 opened this issue Jan 22, 2020 · 1 comment
Closed

Error in train.py #7

ialex2004 opened this issue Jan 22, 2020 · 1 comment

Comments

@ialex2004
Copy link

Hello,

I just downloaded your repo, set up conda env with requirements.txt and torch1.0.0. Downloaded datasets by the links in README.md and got the following error when calling train.py:

python run.py --config config/mgif-256.yaml --device_ids 0
/gpfs-volume/miniconda3/envs/fomm/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
  return f(*args, **kwds)
Traceback (most recent call last):
  File "run.py", line 68, in <module>
    dataset = FramesDataset(is_train=(opt.mode == 'train'), **config['dataset_params'])
TypeError: __init__() got an unexpected keyword argument 'image_shape'
@AliaksandrSiarohin
Copy link
Owner

AliaksandrSiarohin commented Jan 22, 2020

Hi, change image_shape to the frame_shape in mgif-256.yaml. This is some refactoring error.

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