Unverified Commit e72c3cbd authored by Christian Clauss's avatar Christian Clauss Committed by GitHub
Browse files

Undefined name import tensorflow as fr

```
./openfold/utils/loss.py:1498:21: F821 undefined name 'logging'
                    logging.warning(f"{loss_name} loss is NaN. Skipping...")
                    ^
./openfold/utils/feats.py:180:15: F821 undefined name 'math'
        2.0 / math.pi
              ^
./openfold/utils/feats.py:190:31: F821 undefined name 'tf'
        deletion_mean_value = tf.atan(batch["cluster_deletion_mean"] / 3.0) * (
                              ^
./openfold/utils/feats.py:196:17: F821 undefined name 'tf'
                tf.expand_dims(deletion_mean_value, axis=-1),
                ^
./openfold/utils/feats.py:200:35: F821 undefined name 'protein'
    if "extra_deletion_matrix" in protein:
                                  ^
./openfold/utils/feats.py:201:39: F821 undefined name 'tf'
        batch["extra_has_deletion"] = tf.clip_by_value(
                                      ^
./openfold/utils/feats.py:204:41: F821 undefined name 'tf'
        batch["extra_deletion_value"] = tf.atan(
                                        ^
```
parent f63c0947
...@@ -13,7 +13,10 @@ ...@@ -13,7 +13,10 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import math
import numpy as np import numpy as np
import tensorflow as tf
import torch import torch
import torch.nn as nn import torch.nn as nn
from typing import Dict from typing import Dict
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment