Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
d7511194
Unverified
Commit
d7511194
authored
Jan 22, 2022
by
Srihari Humbarwadi
Committed by
GitHub
Jan 22, 2022
Browse files
Merge branch 'tensorflow:master' into panoptic-deeplab-modeling
parents
2ad1ec15
ab8b8012
Changes
1000
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
23 additions
and
24 deletions
+23
-24
official/core/export_base_test.py
official/core/export_base_test.py
+1
-1
official/core/input_reader.py
official/core/input_reader.py
+1
-1
official/core/registry.py
official/core/registry.py
+1
-1
official/core/registry_test.py
official/core/registry_test.py
+1
-1
official/core/task_factory.py
official/core/task_factory.py
+1
-1
official/core/test_utils.py
official/core/test_utils.py
+1
-1
official/core/train_lib.py
official/core/train_lib.py
+1
-1
official/core/train_lib_test.py
official/core/train_lib_test.py
+1
-1
official/core/train_utils.py
official/core/train_utils.py
+1
-2
official/core/train_utils_test.py
official/core/train_utils_test.py
+1
-1
official/legacy/__init__.py
official/legacy/__init__.py
+1
-1
official/legacy/albert/__init__.py
official/legacy/albert/__init__.py
+1
-1
official/legacy/albert/configs.py
official/legacy/albert/configs.py
+2
-2
official/legacy/bert/README.md
official/legacy/bert/README.md
+1
-1
official/legacy/bert/__init__.py
official/legacy/bert/__init__.py
+1
-1
official/legacy/bert/bert_cloud_tpu.md
official/legacy/bert/bert_cloud_tpu.md
+0
-0
official/legacy/bert/bert_models.py
official/legacy/bert/bert_models.py
+2
-2
official/legacy/bert/bert_models_test.py
official/legacy/bert/bert_models_test.py
+3
-3
official/legacy/bert/common_flags.py
official/legacy/bert/common_flags.py
+1
-1
official/legacy/bert/configs.py
official/legacy/bert/configs.py
+1
-1
No files found.
Too many changes to show.
To preserve performance only
1000 of 1000+
files are displayed.
Plain diff
Email patch
official/core/export_base_test.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
...
official/core/input_reader.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
...
official/core/registry.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
...
official/core/registry_test.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
...
official/core/task_factory.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
...
official/core/test_utils.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
...
official/core/train_lib.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
...
official/core/train_lib_test.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
...
official/core/train_utils.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
@@ -101,7 +101,6 @@ def maybe_create_best_ckpt_exporter(params: config_definitions.ExperimentConfig,
...
@@ -101,7 +101,6 @@ def maybe_create_best_ckpt_exporter(params: config_definitions.ExperimentConfig,
return
best_ckpt_exporter
return
best_ckpt_exporter
# TODO(b/180147589): Add tests for this module.
class
BestCheckpointExporter
:
class
BestCheckpointExporter
:
"""Keeps track of the best result, and saves its checkpoint.
"""Keeps track of the best result, and saves its checkpoint.
...
...
official/core/train_utils_test.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
...
official/legacy/__init__.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
...
official/legacy/albert/__init__.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
...
official/legacy/albert/configs.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
import
six
import
six
from
official.
nlp
.bert
import
configs
from
official.
legacy
.bert
import
configs
class
AlbertConfig
(
configs
.
BertConfig
):
class
AlbertConfig
(
configs
.
BertConfig
):
...
...
official/
nlp
/bert/README.md
→
official/
legacy
/bert/README.md
View file @
d7511194
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
**WARNING**
: We are on the way to deprecate most of the code in this directory.
**WARNING**
: We are on the way to deprecate most of the code in this directory.
Please see
Please see
[
this link
](
https://github.com/tensorflow/models/blob/master/official/nlp/docs/train
.md
)
[
this link
](
../g3doc/tutorials/bert_new
.md
)
for the new tutorial and use the new code in
`nlp/modeling`
. This README is
for the new tutorial and use the new code in
`nlp/modeling`
. This README is
still correct for this legacy implementation.
still correct for this legacy implementation.
...
...
official/
nlp
/bert/__init__.py
→
official/
legacy
/bert/__init__.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
...
official/
nlp
/bert/bert_cloud_tpu.md
→
official/
legacy
/bert/bert_cloud_tpu.md
View file @
d7511194
File moved
official/
nlp
/bert/bert_models.py
→
official/
legacy
/bert/bert_models.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
@@ -18,8 +18,8 @@ import gin
...
@@ -18,8 +18,8 @@ import gin
import
tensorflow
as
tf
import
tensorflow
as
tf
import
tensorflow_hub
as
hub
import
tensorflow_hub
as
hub
from
official.legacy.albert
import
configs
as
albert_configs
from
official.legacy.albert
import
configs
as
albert_configs
from
official.legacy.bert
import
configs
from
official.modeling
import
tf_utils
from
official.modeling
import
tf_utils
from
official.nlp.bert
import
configs
from
official.nlp.modeling
import
models
from
official.nlp.modeling
import
models
from
official.nlp.modeling
import
networks
from
official.nlp.modeling
import
networks
...
...
official/
nlp
/bert/bert_models_test.py
→
official/
legacy
/bert/bert_models_test.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
import
tensorflow
as
tf
import
tensorflow
as
tf
from
official.
nlp
.bert
import
bert_models
from
official.
legacy
.bert
import
bert_models
from
official.
nlp
.bert
import
configs
as
bert_configs
from
official.
legacy
.bert
import
configs
as
bert_configs
from
official.nlp.modeling
import
networks
from
official.nlp.modeling
import
networks
...
...
official/
nlp
/bert/common_flags.py
→
official/
legacy
/bert/common_flags.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
...
official/
nlp
/bert/configs.py
→
official/
legacy
/bert/configs.py
View file @
d7511194
# Copyright 202
1
The TensorFlow Authors. All Rights Reserved.
# Copyright 202
2
The TensorFlow Authors. All Rights Reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
...
Prev
1
2
3
4
5
6
…
50
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment