Tf-pose-estimation: 'No module named 'slidingwindow'

Created on 13 Nov 2018  路  5Comments  路  Source: ildoonet/tf-pose-estimation

When I ran the following command, I encountered with the error I mentioned at the title.
python3 run.py --model=mobilenet_thin --resize=432x368 --image=./images/p1.jpg

I fixed the error by changing tf_pose/estimator.py.

import slidingwindow as sw
=>
import sys
sys.path.append('/slidingwindow')
import SlidingWIndow as sw

Hope it helps someone who has the same error.

Most helpful comment

check this one, for me it sloved
pip install slidingwindow

All 5 comments

I resolved this issue by following the install instructions.

$ git clone https://www.github.com/ildoonet/tf-openpose
$ cd tf-openpose
$ python setup.py install

check this one, for me it sloved
pip install slidingwindow

it was omited in requirements. Now it is fixed. Thanks.

@ildoonet I am still a bit confused. slidingwindow has been manually copied to tf_pose/slidingwindow, and maybe has been modified. Which version of slidingwindow should I use? The one in this repo or the original one which can be installed with pip?

import slidingwindow as sw
ModuleNotFoundError: No module named 'slidingwindow'

Tried pip install slidingwindow.
But again showing same error.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arnabdeypolimi picture arnabdeypolimi  路  5Comments

siddharthrajpatel picture siddharthrajpatel  路  4Comments

guofuzheng picture guofuzheng  路  6Comments

khan958 picture khan958  路  3Comments

tomercohen11 picture tomercohen11  路  6Comments