Skip to content
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

In the Github source code you provided,the test experiment is 45.86%.Can you check it again? #20

Open
Elaineok opened this issue Oct 28, 2019 · 1 comment

Comments

@Elaineok
Copy link

In the Github source code you provided,the test experiment is 45.86%.Can you check it again?

@vasgaowei
Copy link
Owner

vasgaowei commented Oct 28, 2019

In network.py, modify a line of code in return_ss_boxes function.
The original code is following:
def return_ss_boxes(self, boxes_index, mode='TRAIN'): if mode == 'TEST': return boxes_index box_num = min(500, len(boxes_index)) indexes = np.random.choice(boxes_index, size=box_num, replace=False) return indexes

The modified version is :
def return_ss_boxes(self, boxes_index, mode='TRAIN'): if mode == 'TEST': return boxes_index box_num = min(1000, len(boxes_index)) indexes = np.random.choice(boxes_index, size=box_num, replace=False) return indexes
You can even use all the proposals for training if you have enough GPU memory. Then you can set the number larger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants