github / github/codeql

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

Open
#5,789 1 comment 0 reactions 0 assignees View on GitHub
false-positive not security Python
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.