Skip to content

What is the version of torch? #7

@vincentspeech

Description

@vincentspeech

Thanks for your greak work

I got warnings when torch==1.8 and 1.10
(Under 1.8 will return error about return_complex of torch)

UserWarning: The default behavior for interpolate/upsample with float scale_factor changed in 1.6.0 to align with other frameworks/libraries, and now uses scale_factor directly, instead of relying on the computed output size. If you wish to restore the old behavior, please set recompute_scale_factor=True. See the documentation of nn.Upsample for details. 

  "The default behavior for interpolate/upsample with float scale_factor changed "
UserWarning: Default upsampling behavior when mode=linear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.

  "See the documentation of nn.Upsample for details.".format(mode)

But there is no special version of torch in requirements.txt

Are these warnings as expected?
or
What's the correct version of torch?

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