Comments (3)
@formath thanks, please show your all error message, including call stack.
It seems that something wrong parsing tensor in CKPT.
from deeprec.
@candyzone
userid_embedding
is a partitioned ev
embedding. Other variables have no problem. I guess the partitioned variables need a special logic.
Traceback (most recent call last):
File "prerank_debias.py", line 1854, in <module>
tf.app.run()
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 308, in run
_run_main(main, args)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
File "prerank_debias.py", line 1839, in main
model.run()
File "prerank_debias.py", line 1690, in run
tf.estimator.train_and_evaluate(classifier, train_spec, eval_spec)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/training.py", line 479, in train_and_evaluate
return executor.run()
File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/training.py", line 646, in run
getattr(self, task_to_run)()
File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/training.py", line 652, in run_chief
return self._start_distributed_training()
File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/training.py", line 829, in _start_distributed_training
saving_listeners=saving_listeners)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/estimator.py", line 373, in train
loss = self._train_model(input_fn, hooks, saving_listeners)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/estimator.py", line 1195, in _train_model
return self._train_model_default(input_fn, hooks, saving_listeners)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/estimator.py", line 1229, in _train_model_default
saving_listeners)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/python/estimator/estimator.py", line 1404, in _train_with_estimator_spec
warm_starting_util.warm_start(*self._warm_start_settings)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/warm_starting_util.py", line 531, in warm_start
checkpoint_utils.init_from_checkpoint(ckpt_to_initialize_from, vocabless_vars)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/checkpoint_utils.py", line 293, in init_from_checkpoint
init_from_checkpoint_fn)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/distribute/distribute_lib.py", line 1940, in merge_call
return self._merge_call(merge_fn, args, kwargs)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/distribute/distribute_lib.py", line 1947, in _merge_call
return merge_fn(self._strategy, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/checkpoint_utils.py", line 288, in <lambda>
ckpt_dir_or_file, assignment_map)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/training/checkpoint_utils.py", line 321, in _init_from_checkpoint
tensor_name_in_ckpt, ckpt_dir_or_file, variable_map
ValueError: Tensor input_layer/userid_embedding/embedding_weights is not found in /xxx/checkpoint/model.ckpt-755185 checkpoint {'user_dnn/dnn_2/bias/Adam_1': [64], 'user_dnn/dnn_2/bias/Adam': [64], 'user_dnn/dnn_2/bias': [64], 'user_dnn/dnn_1/kernel/Adam': [256, 128], 'user_dnn/dnn_1/kernel': [256, 128], 'user_dnn/dnn_1/bn/moving_variance': [128], 'user_dnn/dnn_1/bn/moving_mean': [128], 'user_dnn/dnn_1/bn/gamma/Adam_1': [128], 'user_dnn/dnn_1/bn/beta': [128], 'user_dnn/dnn_1/bias/Adam_1': [128], ........
from deeprec.
Related Issues (20)
- Error when running DIN using --multihash=True
- cpu版本release镜像coredump问题 HOT 2
- ParseBatchRequestFromBuf 报错
- [SOK] LookupOrCreate in lookup_adapter has no matched func in embedding var? HOT 3
- Cannot place the graph because a reference or resource edge connects colocation groups with incompatible resource devices HOT 3
- 编译问题 HOT 3
- [BUILD] build failed with GPU configuration HOT 1
- [Performance] GPU的 Op schedule threads 只有2个 HOT 1
- CUDA Graph open fail HOT 3
- structure sparsity HOT 1
- Can deeprec processor be used in triton inference server? HOT 2
- Can not collect filtered string features information HOT 3
- Can not join dingtalk group or wechat group HOT 1
- Build Issue while build SOK HOT 1
- Parquet dataset reader throw InternalError: Read uninitialized Dataset variant. HOT 1
- [BUILD] build failed with GPU configuration HOT 3
- Is GPU 1080Ti supported? HOT 1
- 进群微信 or 钉钉 HOT 2
- 编译sok会找不到tensorflow/core/kernels/gpu_device_array.h路径 HOT 3
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 deeprec.