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

Could not open ./app/ML/models/training_bert_text/cp.ckpt #2

Open
ino6962 opened this issue Jun 19, 2024 · 0 comments
Open

Could not open ./app/ML/models/training_bert_text/cp.ckpt #2

ino6962 opened this issue Jun 19, 2024 · 0 comments

Comments

@ino6962
Copy link

ino6962 commented Jun 19, 2024

Hi, Im getting the following error after running deepessay,

If your task is similar to the task the model of the checkpoint was trained on, you can already use TFBertModel for predictions without further training.
2024-06-19 16:09:36.180746: W tensorflow/core/util/tensor_slice_reader.cc:98] Could not open ./app/ML/models/training_bert_text/cp.ckpt: FAILED_PRECONDITION: app/ML/models/training_bert_text/cp.ckpt; Is a directory: perhaps your file is in a different file format and you need to use a different restore operator?

directory index

app/ML/models/
├── training_bert_num
│   └── cp.ckpt
│       ├── assets
│       ├── fingerprint.pb
│       ├── keras_metadata.pb
│       ├── saved_model.pb
│       └── variables
│           ├── variables.data-00000-of-00001
│           └── variables.index
├── training_bert_num_bin
│   └── cp.ckpt
│       ├── assets
│       ├── fingerprint.pb
│       ├── keras_metadata.pb
│       ├── saved_model.pb
│       └── variables
│           ├── variables.data-00000-of-00001
│           └── variables.index
└── training_bert_text
    └── cp.ckpt
        ├── assets
        ├── fingerprint.pb
        ├── keras_metadata.pb
        ├── saved_model.pb
        └── variables
            ├── variables.data-00000-of-00001
            └── variables.index

while I can run deepeassy despite this error(??), I'm not sure if this might cause problems or not.

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

1 participant