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

Can't run as I have already git clone and pip install requirement #11

Open
hellangleZ opened this issue Jan 1, 2025 · 1 comment
Open

Comments

@hellangleZ
Copy link

(openemma) root123@A100:/aml/OpenEMMA$ python main.py
--model-path gpt
--dataroot "/aml/OpenEMMA/data/sets/nuscene"
--version "v1.0-mini"
--method openemma
Creating new Ultralytics Settings v0.0.6 file ✅
View Ultralytics Settings with 'yolo settings' or at '/home/root123/.config/Ultralytics/settings.json'
Update Settings with 'yolo settings key=value', i.e. 'yolo settings runs_dir=path/to/dir'. For help see https://docs.ultralytics.com/quickstart/#ultralytics-settings.
/home/root123/miniconda3/envs/openemma/lib/python3.8/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
warnings.warn(
/home/root123/miniconda3/envs/openemma/lib/python3.8/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or None for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing weights=ResNet18_Weights.IMAGENET1K_V1. You can also use weights=ResNet18_Weights.DEFAULT to get the most up-to-date weights.
warnings.warn(msg)
Downloading: "https://download.pytorch.org/models/resnet18-f37072fd.pth" to /home/root123/.cache/torch/hub/checkpoints/resnet18-f37072fd.pth
100%|███████████████████████████████████████████████████████████| 44.7M/44.7M [00:00<00:00, 421MB/s]
Traceback (most recent call last):
File "main.py", line 20, in
from OpenEMMA.utils import EstimateCurvatureFromTrajeemmary, IntegrateCurvatureForPoints, OverlayTrajectory, WriteImageSequenceToVideo
ModuleNotFoundError: No module named 'OpenEMMA'
(openemma) root123@A100:/aml/OpenEMMA$ pip install openemma
ERROR: Could not find a version that satisfies the requirement openemma (from versions: none)
ERROR: No matching distribution found for openemma

image

image

@ShuoXing98
Copy link
Contributor

Hi @hellangleZ ,

The EstimateCurvatureFromTrajeemmary, IntegrateCurvatureForPoints, OverlayTrajectory, and WriteImageSequenceToVideo are functions in utils.py. The error seems to have been caused by some typos. We have updated the repository, so please pull the latest changes and try again.

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