Open cmtsai opened 4 years ago
Do you update mmdetection version?
I use mmdetection master version. However, it produce above-mentioned problem.
I use https://github.com/open-mmlab/mmdetection/pull/2404 : Rename imgs_per_gpu to samples_per_gpu to rename.
However, it produce as follows:
python tools/test.py configs/D2Det/D2Det_instance_r101_fpn_2x.py checkpoints/D2Det-instance-res101.pth --show
Traceback (most recent call last):
File "tools/test.py", line 9, in
How to solve the is problem?
Hi, cmtsai. I donot see 'samples_per_gpu' from L131 to L136 in test.py. Please check it as follows. https://github.com/JialeCao001/D2Det/blob/aba3d2d177a7df402bffe1beb2394be44dd3bd8c/tools/test.py#L131
Hi, JialeCao.
I try to download your D2Det code again.
And execute
python tools/test.py configs/D2Det/D2Det_instance_r101_fpn_2x.py checkpoints/D2Det-instance-res101.pth --show
Traceback (most recent call last):
File "tools/test.py", line 9, in
How to solve the is problem?
You should compile this project. Please refer to https://github.com/JialeCao001/D2Det/blob/master/docs/INSTALL.md.
Hi, JialeCao, I have compiled this project which follows https://github.com/JialeCao001/D2Det/blob/master/docs/INSTALL.md.
However, when run
python tools/test.py configs/D2Det/D2Det_instance_r101_fpn_2x.py checkpoints/D2Det-instance-res101.pth --show
Traceback (most recent call last):
File "tools/test.py", line 9, in
How to solve this problem?
do you run the command 'pip install -v -e . # or "python setup.py develop"'?
My steps are described as follows:
Are these steps wrong?
Hi, cmtsai. I am not sure what is the problem. I feel that the project is not sucessfully installed. Please check the following things: (1) Is the command "pip install -v -e ." sucessfully finished or not. (2) Maybe using conda is better. I usually install the project in conda environment as stated in INSTALL.MD.
Thanks for sharing your research/code with us. Many appreciated. I tried to run: python tools/test.py configs/D2Det/D2Det_instance_r101_fpn_2x.py checkpoints/D2Det-instance-res101.pth --show loading annotations into memory... Done (t=0.50s) creating index... index created! Traceback (most recent call last): File "tools/test.py", line 175, in
main()
File "tools/test.py", line 136, in main
shuffle=False)
TypeError: build_dataloader() missing 1 required positional argument: 'samples_per_gpu'
How to solve the is problem?