Skip to content

Docker file and other updates along with merged eros-framer updates#123

Open
Melica101 wants to merge 12 commits into
mainfrom
movenet-updates
Open

Docker file and other updates along with merged eros-framer updates#123
Melica101 wants to merge 12 commits into
mainfrom
movenet-updates

Conversation

@Melica101

Copy link
Copy Markdown

No description provided.

@Melica101 Melica101 requested a review from gaurvigoyal May 12, 2025 07:43
Comment thread example/movenet/Dockerfile Outdated
ln -s python$PYTHON_VERSION /usr/bin/python3

# upgrade pip
RUN sudo apt install -y python3.8-distutils

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consolidate a single version of python (we have 3 at the moment)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also on line 28
also on line 197
let's keep all installs up the top so there are no surprise version mismatches later

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arrenglover The 3.8 version seems to work fine for the installs that I added so we can go with that. I have put the installs I added at the top. I haven't made any changes to the previous installs (there is a python 3.7 install on line 75 which can possibly be removed)

Comment thread example/movenet/Dockerfile Outdated
apt update; \
apt install -y metavision-*; \
fi
# RUN if [ $hvga -eq 1 ]; then \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we not want to run the camera for the example anymore? @gaurvigoyal

ARG YARP_VERSION=3.6.0
ARG YCM_VERSION=0.14.0
ARG EVENT_DRIVEN_VERSION=main
ARG YARP_VERSION=master

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's keep specific versions for YARP, and YCM

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arrenglover I tried again and specific versions bring up errors so I went with the main and master again

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

latest version of yarp is v3.11.2 latest version of YCM is v0.18.3 - you can have event-driven on main

Comment thread example/movenet/Dockerfile Outdated


# install BIMVEE
RUN apt install -y libpython3.8-dev python3-h5py

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above - consolidate python versions and keep installs at the top

Comment thread example/movenet/Dockerfile Outdated

# install movenet dependencies

# use this once the eros-framer.cpp is updated in the movenet repo

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay let's switch this back as we fixed the eros-framer

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread example/movenet/Dockerfile Outdated
python3 -m pip install -r requirements.txt && \
python3 -m pip install -r requirements.txt

COPY eros-framer.cpp $SOURCE_FOLDER/hpe-core/example/movenet/eros-framer.cpp

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we shouldn't need to do this - let's remove

Comment thread example/movenet/README.md
2. Create a python environment on you local machine.
If you want to run this offline only, this option can be used.
- Create a virtual environment and enter it.
2. Create a python environment on your local machine.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have a good reason to use docker and a local python environment? @gaurvigoyal ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two different types of users (ones who would run the full pipeline with the data.log we provide and another who just want to try moveEnet's python part and install it natively in their own python environments) and thus having the instructions for the two different cases makes sense.

@@ -1,33 +1,30 @@
#include <yarp/os/all.h>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do a git pull on main and then a git merge main on this branch to update to the changes already pushed to main about eros-framer

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don'y think eros-framer is updated in this pull request because it was already done in the last update. therefore you haven't correctly merged main into your branch @gaurvigoyal

@Melica101 Melica101 requested a review from arrenglover May 19, 2025 06:55
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

Successfully merging this pull request may close these issues.

4 participants