Comments (5)
@PaulSteffen-betclic please pull the latest branches. there was a recent fix. if you are using our merlin-tensorflow:23.08 image, you need to do
cd /models
git pull origin main
pip install .
from models.
@PaulSteffen-betclic please pull the latest branches. there was a recent fix. if you are using our merlin-tensorflow:23.08 image, you need to do
cd /models git pull origin main pip install .
I'm currently using the version 23.8.0+5.g16d289a77, which include this recent fix
from models.
@PaulSteffen-betclic please pull the latest branches. there was a recent fix. if you are using our merlin-tensorflow:23.08 image, you need to do
cd /models git pull origin main pip install .
I also tried to use the latest branches, using the merlin-tensorflow:nightly image (23.08 do not work on macOS) and always the same error.
from models.
@PaulSteffen-betclic after you load the model can you please do this step before you convert it to topk_encoder model?
loaded_model = tf.keras.models.load_model(path)
# this is necessary when re-loading the model, before building the top K
_ = loaded_model(mm.sample_batch(dataset, batch_size=128, include_targets=False))
from models.
@PaulSteffen-betclic after you load the model can you please do this step before you convert it to topk_encoder model?
loaded_model = tf.keras.models.load_model(path) # this is necessary when re-loading the model, before building the top K _ = loaded_model(mm.sample_batch(dataset, batch_size=128, include_targets=False))
It fix this issue !
Thanks !
from models.
Related Issues (20)
- [BUG] model.evaluate() and topk_model.evaluate() do not give same metric (case of no sampled softmax)
- [Task] Add PyTorch Examples to Merlin Models
- [DOC] Merlin Docker AttributeError: module 'merlin.models.tf' has no attribute 'OutputBlock' Error HOT 1
- [DOC] YoutubeDNNRetrievalModelV2 working example HOT 2
- [QST] HOT 5
- [BUG] Unable to serve a session-based topk_model on Triton due to TypeError: Unable to serialize item_id-list to JSON. Unrecognized type <class 'merlin.schema.schema.ColumnSchema'>.
- [QST] Performance differences between `encode()` vs `__call__()` on tf Encoder block in CPU HOT 4
- [BUG] Getting error when serving a reloaded session-based model on Triton
- Implementing IntTower for retrieval HOT 1
- [BUG] when we serve topK model on Triton it only returns scores
- [BUG] Error when using class_weight with DLRMModel HOT 1
- [QST] Train Ranking Model Using Pre-Train Model
- [BUG] Error with prepare_aliccp() HOT 2
- [BUG] does not install dependencies.
- [BUG] Ranking model predict constant
- [QST] How to use negative sampling with ranking models ?
- [BUG] when the model is loaded and saved again, the argument names disappear (become 'args_0, args_0_1 etc) HOT 1
- [QST] best practice to build a docker image to train merlin tensorflow models?
- [QST] Status: CUDA driver version is insufficient for CUDA runtime version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from models.