Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: Missing a Px or Py depth channel #6

Open
jpwalters opened this issue Jan 26, 2024 · 4 comments
Open

Warning: Missing a Px or Py depth channel #6

jpwalters opened this issue Jan 26, 2024 · 4 comments

Comments

@jpwalters
Copy link

I'm getting the following warning/error when running several tutorial examples.

Tutorials:

  • t_filmResize.m
  • t_cameraMotion
  • t_assetsViewPoint
  • t_piIntro_chess

Any ideas how to fix it?

Warning: Missing a Px or Py depth channel 
> In piReadEXR (line 74)
In piEXR2ISET (line 150)
In piRender (line 260)
In piWRS (line 128)
In t_filmResize (line 23) 
Error using exrread
Unable to find one or more names specified by 'Channels' in part 1 of the input file.

Error in piEXR2Mat (line 48)
    data = exrread(inputFile, Channels = channels);

Error in piReadEXR (line 76)
        output(:,:,3) = piEXR2Mat(filename, 'Pz');

Error in piEXR2ISET (line 150)
            otherData.coordinates = piReadEXR(inputFile, 'data type','3dcoordinates');

Error in piRender (line 260)
ieObject = piEXR2ISET(outFile, 'recipe',thisR,...

Error in piWRS (line 128)
[obj, results, thisD] = piRender(thisR, 'ourdocker', thisD, varargin{:});

Error in t_filmResize (line 23)
piWRS(thisR);
@Zhenyi-Liu
Copy link
Collaborator

Hi, we fixed this issue in our 'dev' branch, and we will merge the dev into master soon. And by the way, which docker image are you using?

Thanks,
Zhenyi

@jpwalters
Copy link
Author

Glad to hear the issue is already fixed.

I'm using the CPU docker image at the moment.

@QuintonQu
Copy link

@Zhenyi-Liu Hi, glad to hear the issue is fixed. However, I checked 'dev' branch and 'dev-zhenyi' branch, I still get the same error. Which branch is the fix in?

@QuintonQu
Copy link

Never mind. I fixed it on my computer. It's the difference between P.X and Px

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants