Skip to content

Change where pretrained weights get stored #221

Description

@swahtz

We shouldn't be storing pretrained weights in the install directory of the module:

_PRETRAINED_WEIGHTS_PATH = pathlib.Path(__file__).parent / "_weights"

It can potentially breakl moving between wheel and editable package installs. For instance, removing/uninstalling fvdb-reality-capture will not remove these _weights directories and leave the 'fvdb-reality-capture' directory in site-packages which will cause confusion for the user because import will pick up this (mostly) empty directory first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions