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

Compatibility with Jetson Nano 4GB #32

Open
KonstantinosArvanitis opened this issue Nov 1, 2022 · 3 comments
Open

Compatibility with Jetson Nano 4GB #32

KonstantinosArvanitis opened this issue Nov 1, 2022 · 3 comments

Comments

@KonstantinosArvanitis
Copy link

Trying to run an experiment on Jetson Nano (4GB version) with all the requirements installed, but I keep receiving the error ''MemoryError'' on terminal. Is that a hardware problem of the Jetson Nano (inefficient memory)?
Note: I also increased the size of the swap memory (I use a 32GB SD card) , but it didn't solve the problem.

@gante
Copy link
Owner

gante commented Nov 1, 2022

Hey @konarva 👋 by "running the experiment", I'm assuming you mean doing inference using a model trained somewhere else :)

I ran the inference experiment long ago, so my ability to help will be limited. The model itself should be much smaller than 4GB, so I don't think it is the issue. The python environment, however, might have changed significantly 🤔 I'd suggest trying to ensure you use the same packages as in requirements.txt from this specific commit, which corresponds to the codebase at the time of the experiment :)

@KonstantinosArvanitis
Copy link
Author

Hello,
I already have installed the requirements, and I'm trying to run the following command lines:

python3 bin/preprocess_dataset.py /path/to/config.yaml
python3 bin/train_model.py /path/to/config.yaml
python3 bin/test_model.py /path/to/config.yaml
python3 bff_positioning/visualization/plot_histogram.py /path/to/config.yaml

If I use an example that already exists (like cnn_experiment.yaml), should I just skip the first 2 steps and it will run correctly ?
Thanks a lot for helping!

@gante
Copy link
Owner

gante commented Nov 3, 2022

Yeah, the first two steps must be executed in a separate machine to train the model :) After you have a trained model, copy it to the Jetson machine and run the test_model.py step

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

2 participants