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

How to use my own trained model for conducting inference? #324

Closed
landkwon94 opened this issue Apr 18, 2022 · 1 comment
Closed

How to use my own trained model for conducting inference? #324

landkwon94 opened this issue Apr 18, 2022 · 1 comment

Comments

@landkwon94
Copy link

Hello Sir, I was previously using the former version of DeepForest which was written 2021 February. But it seems there are some changes in current version.

I want to use my own pre-trained model which has '.h5' file format for my own inference :)
My original codes written last year are not working properly well now.. So may I ask you the method how to conduct inference with pre-trained model in current version?

Thank you so much!

@ethanwhite
Copy link
Member

In 2021 June we moved from tensorflow to Pytorch. See #195. Therefore pretained tensorflow models (including those made by the package prior to 2021 June) will no longer work with the current release or main branch.

The tensorflow version of the package as of 2021 June is available in a branch here: https://github.com/weecology/DeepForest/tree/tensorflow

You can try running your old model on that branch, but this version of the code is unmaintained and unsupported. We recommend retraining using the new release if possible.

@bw4sz bw4sz closed this as completed Nov 8, 2022
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