1adrianb / 1adrianb/face-alignment

Error in examples/demo.ipynb testing on a batch

Open
#332 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.5k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

In "Testing on a batch":

```python
fig = plt.figure(figsize=(10, 5))
for i, pred in enumerate(preds):
plt.subplot(1, 2, i + 1)
plt.imshow(frames[1])
plt.title(f'frame[{i}]')
for detection in pred:
plt.scatter(detection[:,0], detection[:,1], 2)
```
the 2nd loop is redundant, need to plot `pred[:, 0], pred[:, 1]` only.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.