tensorflow / tensorflow/models
hparams = contrib_training.HParams( NameError: name 'contrib_training' is not defined
Open
Nobody has claimed this yet.
models:research
type:support
- Dominant language
- Python
- Stars
- 77.7k
- Forks
- 44.8k
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/tensorflow/models/tree/r2.3.0/research/object_detection
Describe:
After run: python model_main_tf2.py --model_dir=$MODEL_DIR --num_train_steps=$NUM_TRAIN_STEPS --sample_1_of_n_eval_examples=$SAMPLE_1_OF_N_EVAL_EXAMPLES --pipeline_config_path=$PIPELINE_CONFIG_PATH --alsologtostderr
I got: hparams = contrib_training.HParams(
NameError: name 'contrib_training' is not defined
System information:
- Ubuntu 20.04
- TensorFlow installed by: pip install tensorflow
- TensorFlow version (use command below):tensorflow 2.3.0
- Python version: 3.8.2
- GCC/Compiler version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
- CUDA/cuDNN version: CUDA Version: 11.0 , cudnn 7.6.5
- GPU model and memory: GeForce RTX 2060
How can I solve it?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.