Skip to content

Issue with Example 'Fig2Replication' #6

Closed
@damianoazzolini

Description

@damianoazzolini

Hi,
I'm trying to run the example 'Fig2Replication', but I get some errors in the part 'Fit model'.
The first is TypeError: 'module' object is not callable that comes from line 119 of disc_utils.py.
This can be fixed (I suppose) by replacing torch.fft with torch.fft.fft (also at line 120).
After that, however, there is an error at line 121: IndexError: index 1 is out of bounds for dimension 1 with size 1.

Any idea how to fix it?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions