-
I tried to add other args in get_parser() in demo.py. But it goes to detectron2/detectron2/engine/defaults.py to get default args, it does not work if I modify detectron2/detectron2/engine/defaults.py…
-
```
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--host", type=str, default="localhost")
parser.add_argument("--dtype", type=str, default="bfloa…
-
**Description**:
Hello, I encountered a `torch.cuda.OutOfMemoryError` while fine-tuning a model using `trainer.py`. My setup includes only a single GPU with 32GB of memory, and the error occurs eve…
-
The problem looked to be a combination of Windows and radioflux-ds9.py reading in file/region arguments using sys.stdin.readline. I updated my radioflux-ds9.py, to accept these as positional arguments…
-
Thank you for your meaningful work!
We use alfred codebase and try to use your realfred scenes and tasks.
When we try to setup a scene, there occurs an error:
Traceback (most recent call last):…
-
传入一个程序的参数包含了“标记”(flag)和“值”(value)。标记都是一个字母,前面加上“-”号(例如“-p”这样)。每个标记可以有一个值与之对应,也可以没有对应的值。
我们要开发一个解析器(parser)来处理这些参数。这个解析器需要一个参数结构(schema)来描述“这个程序应该接受哪些参数”的信息,包括:
应该有几个标记;
每个标记应该是什么类型;
每个标记的缺省值是什…
-
**My observation**
- With https://github.com/ys-zong/VLGuard/blob/main/VLGuard_eval.py, I am able to reproduce results not too far from Table 2 for **VLGuard dataset**.
- However, **I cannot reprodu…
-
It looks to me that whereas the `profile` command supports usage of the `--tokenizer` argument, the `compare` command does not have such an option. That leads to a case when you can have a series of e…
-
### 🐛 Describe the bug
```
import os, sys
import torch
from functools import lru_cache, partial
from torch.nn.attention.flex_attention import (
_DEFAULT_SPARSE_BLOCK_SIZE,
create_bl…
-
Use case is for overloading methods.
Currently doing something like this often:
```
function(...args) {
const var1 = args.filter(arg => arg instanceof SomeClass)[0];
// etc
}
```
…