question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unable to run demo

See original GitHub issue

Hello, I’m trying to run the demo with the pre-trained model. I downloaded it and moved it inside a models/ directory, but I get this error.

python demo.py
Using TensorFlow backend.
Traceback (most recent call last):
  File "demo.py", line 9, in <module>
    from data_generator import generate_trimap, random_choice, get_alpha_test
  File "/Users/andy/Documents/projects/Deep-Image-Matting/data_generator.py", line 17, in <module>
    with open('Combined_Dataset/Training_set/training_fg_names.txt') as f:
IOError: [Errno 2] No such file or directory: 'Combined_Dataset/Training_set/training_fg_names.txt'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
foamliucommented, Aug 23, 2018

Devin147 is correct, the demo relies on original dataset.

0reactions
sukki37commented, Jan 26, 2021

@jjlchui , @syoung125 @foamliu @flyonok Can you send me the Adobe datasets’s link, I have send a email for author of Deep Image Matting, but I didn’t get a reply.Thanks. My email is 165627230@qq.com.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to run demo: Key error "data" · Issue #89 - GitHub
I'm trying to run the data lineage wikimedia demo but I'm running into an error: Traceback (most recent call last):
Read more >
ant - Unable to run the demo setup - Stack Overflow
I typed tomcat.install and it solved the problem since I need to download the tomcat inside the apps directory. Share. Share ...
Read more >
Unable to run Demo :: Silverfall General Discussions
Unable to run Demo. The game always crashes and brings up the steam store when I attempt to run the demo. I am...
Read more >
can't run demo applications: error in opening zip file - IBM
Hello,. I've installed BigInsights Enterprise 1.4 as a single node installation on my machine (CentOS 6.3, 64 bit), but can't run demo applications....
Read more >
AWR6843AOP: Unable to run people counting demo ... - TI E2E
Hello TI Team,. We are running 68xx_people_counting demo project from tool box mmwave_industrial_toolbox_4_1_0. We are specifically interested ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found