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

Poor predictions from pre-trained model? #206

Open
MeyerDLevy opened this issue Apr 4, 2022 · 1 comment
Open

Poor predictions from pre-trained model? #206

MeyerDLevy opened this issue Apr 4, 2022 · 1 comment

Comments

@MeyerDLevy
Copy link

Hi there,

I suspect this is my fault -- I'm having trouble getting good predictions from either the NYU or KITTI pre-trained models. I load the models the same way they are loaded in test.py:

model2 = keras.models.load_model("C:\\Users\\meyer\\Dropbox\\nga\\python\\github\\DenseDepth\\nyu amazon.h5", custom_objects = {"BilinearUpSampling2D": BilinearUpSampling2D}, compile = False)

and then make my predictions this way, where rgbA is a 480x640 RGB image represented as an array:

z = model2.predict(rgbA)

but my predictions are clearly wrong, as I show in the attached image.

output github

So... does anyone have any idea how I can get accurate predictions out of the network?

Thanks!

@QijinXu
Copy link

QijinXu commented Nov 15, 2023

the pre-trained model is missing, could you please share it?

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

2 participants