Skip to content

test.ipynb fails on fresh setup due to missing pretrained weights and grid artifacts #105

@kunalsanga

Description

@kunalsanga

Description

While running test.ipynb in
Grid_based_strong_lensing_for_unsupervised_super_resolution_Anirudh_Shankar
on a fresh environment, the notebook fails when attempting to load pretrained
artifacts that are not present in the repository.

Specifically, the notebook assumes the following files exist locally:

  • vdl_weights.pt
  • scatter_to_log_128.pt
  • forward_from_log_128.pt
  • scatter_from_log_128.pt
  • sparse_grid_fracs_euclid_backward.pt

However, the README does not document:

  • where these files should be obtained from,
  • whether they are pretrained or generated locally,
  • or what steps a new user should follow to run test.ipynb end-to-end.

Steps to reproduce

  1. Create a fresh Python virtual environment
  2. Install dependencies
  3. Open and run test.ipynb

Observed behavior

The notebook fails with an error such as:

Expected behavior

A new contributor should either:

  • have clear instructions to obtain or generate the required artifacts, or
  • see a setup cell/script that downloads them automatically, or
  • receive a clear error message explaining the missing prerequisites.

Happy to help implement a fix once the intended workflow is clarified.

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