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

pos_24.txt not found #300

Open
sunny1072 opened this issue Mar 2, 2020 · 2 comments
Open

pos_24.txt not found #300

sunny1072 opened this issue Mar 2, 2020 · 2 comments

Comments

@sunny1072
Copy link

Hi,

While running gen_imglist_rnet.py I am getting below error.

Traceback (most recent call last): File "gen_imglist_rnet.py", line 20, in <module> with open(os.path.join(data_dir, '%s/pos_%s.txt' % (dir_name, size)), 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '../../DATA/no_LM24/pos_24.txt'

COuld you please help me here?

@galuhputraa
Copy link

sam with me

@galuhputraa
Copy link

galuhputraa commented Nov 28, 2022

i think in gen_hard_example.py we are using Onet but we must use RNet first so change it in line around 231-240

`if name == main:

#net = 'ONet'
net = 'RNet'

if net == "RNet":
    image_size = 24
if net == "ONet":
    image_size = 48

`

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