Skip to content

Issue with Missing .pkl Files for EMLight #32

@BasAdam

Description

@BasAdam

Issue with Missing .pkl Files for EMLight

Hi,

I’m encountering an issue with the EMLight project when trying to run the test.py script in the GenProjector folder. The following error is raised:

FileNotFoundError: [Errno 2] No such file or directory: '/home/fangneng.zfn/datasets/LavalIndoor/nips/pkl/'

I understand that the pkl directory should contain .pkl files necessary for the model to work, but it’s unclear how to obtain or generate these files.


What I’ve Done So Far

  1. I downloaded and placed the pre-trained weights in the RegressionNetwork/checkpoints folder.
  2. I tried pointing dataroot to a folder containing my own images, but the .pkl files seem essential for the script to run.
  3. I read the README, which mentions distribution_representation.py, but I couldn’t figure out how to use it to generate these files.

Questions

  1. What should the .pkl files in /nips/pkl/ contain?
  2. Is there a specific script or example to generate them?
  3. If the .pkl files are not necessary to test the pre-trained model, how can I bypass this requirement?

Context

  • Operating System: macOS
  • Python Version: 3.12
  • Hardware: CPU (no GPU available)
  • Image Path: /Users/adam/Desktop/test.png

Thank You!

Thank you very much for your help!
I’m happy to provide more details if needed. 😊

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