-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Experimental VLLM Integration #174
Conversation
Apply Sweep Rules to your PR?
|
|
||
# load the model | ||
self.features_blobs = [] | ||
self.model = load_model(lambda module,input,output: self.hook_feature(module,input,output)) | ||
self.model = load_model( | ||
lambda module, input, output: self.hook_feature(module, input, output) |
Check notice
Code scanning / CodeQL
Unnecessary lambda Note
@@ -2,9 +2,10 @@ | |||
import cv2 | |||
import time | |||
|
|||
def attack(ipaddr, port=554, dictionary = './rtsp_dict/tries.txt'): | |||
|
|||
def attack(ipaddr, port=554, dictionary="./rtsp_dict/tries.txt"): |
Check notice
Code scanning / CodeQL
Explicit returns mixed with implicit (fall through) returns Note
def __getitem__(self, key: CameraEntry|int) -> None|Image.Image: | ||
if type(key) == int: | ||
|
||
def __getitem__(self, key: CameraEntry | int) -> None | Image.Image: |
Check notice
Code scanning / CodeQL
Explicit returns mixed with implicit (fall through) returns Note
if store: | ||
json.dump(res, open(store, 'r')) | ||
json.dump(res, open(store, "r")) |
Check warning
Code scanning / CodeQL
File is not always closed Warning
) | ||
if store: | ||
json.dump(res, open(store, 'r')) | ||
json.dump(res, open(store, "r")) |
Check warning
Code scanning / CodeQL
File is not always closed Warning
No description provided.