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

running inferece.py file gives an error #19

Open
JavanehBahrami opened this issue Nov 18, 2023 · 0 comments
Open

running inferece.py file gives an error #19

JavanehBahrami opened this issue Nov 18, 2023 · 0 comments

Comments

@JavanehBahrami
Copy link

JavanehBahrami commented Nov 18, 2023

Hi @CHELSEA234

When I run the inference.py file using this command:

python3 inference.py --cuda=0 --pro=1 --dir=./demo/live/ --overwrite --weight_dir=./resources/save_model_siwmv2_pro_1_unknown_Ob

but it gives an error :

File "inference_ed.py", line 194, in test_step
    img, img_name = dataset_inference.nextit()
  File "project/Multi-domain-learning-FAS/source_SiW_Mv2/dataset.py", line 121, in nextit
    return next(self.feed)
  File "torch_env/lib/python3.8/site-packages/tensorflow/python/data/ops/iterator_ops.py", line 816, in __next__
    raise StopIteration
StopIteration

How can I solve this issue?

@JavanehBahrami JavanehBahrami changed the title running inferece.py file give an error running inferece.py file gives an error Nov 18, 2023
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

1 participant