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

The accel-gyro files do not match each other #1

Open
corruptbear opened this issue Apr 7, 2024 · 0 comments
Open

The accel-gyro files do not match each other #1

corruptbear opened this issue Apr 7, 2024 · 0 comments

Comments

@corruptbear
Copy link

corruptbear commented Apr 7, 2024

(OSX14.3, python3.10)

For example, training data looks like

[(<DirEntry 'data_1600_accel_watch.txt'>, <DirEntry 'data_1640_gyro_watch.txt'>), (<DirEntry 'data_1648_accel_watch.txt'>, <DirEntry 'data_1647_gyro_watch.txt'>), (<DirEntry 'data_1616_accel_watch.txt'>, <DirEntry 'data_1623_gyro_watch.txt'>), (<DirEntry 'data_1611_accel_watch.txt'>, <DirEntry 'data_1636_gyro_watch.txt'>), (<DirEntry 'data_1608_accel_watch.txt'>, <DirEntry 'data_1646_gyro_watch.txt'>), (<DirEntry 'data_1640_accel_watch.txt'>, <DirEntry 'data_1622_gyro_watch.txt'>), (<DirEntry 'data_1607_accel_watch.txt'>, <DirEntry 'data_1641_gyro_watch.txt'>), (<DirEntry 'data_1610_accel_watch.txt'>, <DirEntry 'data_1630_gyro_watch.txt'>), (<DirEntry 'data_1609_accel_watch.txt'>, <DirEntry 'data_1638_gyro_watch.txt'>), (<DirEntry 'data_1634_accel_watch.txt'>, <DirEntry 'data_1649_gyro_watch.txt'>), (<DirEntry 'data_1641_accel_watch.txt'>, <DirEntry 'data_1632_gyro_watch.txt'>), (<DirEntry 'data_1622_accel_watch.txt'>, <DirEntry 'data_1643_gyro_watch.txt'>), (<DirEntry 'data_1618_accel_watch.txt'>, <DirEntry 'data_1635_gyro_watch.txt'>), (<DirEntry 'data_1646_accel_watch.txt'>, <DirEntry 'data_1644_gyro_watch.txt'>), (<DirEntry 'data_1650_accel_watch.txt'>, <DirEntry 'data_1645_gyro_watch.txt'>), (<DirEntry 'data_1636_accel_watch.txt'>, <DirEntry 'data_1650_gyro_watch.txt'>), (<DirEntry 'data_1612_accel_watch.txt'>, <DirEntry 'data_1633_gyro_watch.txt'>), (<DirEntry 'data_1620_accel_watch.txt'>, <DirEntry 'data_1626_gyro_watch.txt'>), (<DirEntry 'data_1639_accel_watch.txt'>, <DirEntry 'data_1607_gyro_watch.txt'>), (<DirEntry 'data_1643_accel_watch.txt'>, <DirEntry 'data_1612_gyro_watch.txt'>), (<DirEntry 'data_1644_accel_watch.txt'>, <DirEntry 'data_1608_gyro_watch.txt'>), (<DirEntry 'data_1603_accel_watch.txt'>, <DirEntry 'data_1615_gyro_watch.txt'>), (<DirEntry 'data_1627_accel_watch.txt'>, <DirEntry 'data_1600_gyro_watch.txt'>), (<DirEntry 'data_1628_accel_watch.txt'>, <DirEntry 'data_1614_gyro_watch.txt'>), (<DirEntry 'data_1629_accel_watch.txt'>, <DirEntry 'data_1619_gyro_watch.txt'>), (<DirEntry 'data_1637_accel_watch.txt'>, <DirEntry 'data_1616_gyro_watch.txt'>), (<DirEntry 'data_1621_accel_watch.txt'>, <DirEntry 'data_1602_gyro_watch.txt'>), (<DirEntry 'data_1642_accel_watch.txt'>, <DirEntry 'data_1618_gyro_watch.txt'>), (<DirEntry 'data_1605_accel_watch.txt'>, <DirEntry 'data_1605_gyro_watch.txt'>)]

In all of the tuples, the accel and the gyro data come from different people!
The reason is accelDirs and gyroDirs are not sorted.

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