github / github/codeql

LGTM.com - false positive with torch.nn.Sequential

Ouverte
#5,789 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
false-positive not security Python
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
141

Description

An alert was triggered that a [torch.nn.Sequential](https://pytorch.org/docs/stable/generated/torch.nn.Sequential.html) model was not callable.

The model is intended to be a callable - https://pytorch.org/tutorials/beginner/pytorch_with_examples.html#pytorch-nn.

Alert:
https://lgtm.com/projects/g/allenai/allenact/snapshot/5a2b317d0532bd2999b6bfa101522ff45c7ea8c9/files/allenact/embodiedai/mapping/mapping_models/active_neural_slam.py?sort=name&dir=ASC&mode=list#x3719db148fcfd007:1

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.