MTCNN-Tensorflow icon indicating copy to clipboard operation
MTCNN-Tensorflow copied to clipboard

pos_24.txt not found

Open sunny1072 opened this issue 4 years ago • 2 comments

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?

sunny1072 avatar Mar 02 '20 06:03 sunny1072

sam with me

galuhputraa avatar Nov 28 '22 00:11 galuhputraa

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

`

galuhputraa avatar Nov 28 '22 00:11 galuhputraa