Comments (7)
Sorry, I'm not sure what you mean. Can you share the exact command and error?
from climax.
Thanks .PLZ find the errors as follow:
base) mac@macdeMacBook-Pro ClimaX % cd cd docker (base) mac@macdeMacBook-Pro ClimaX % docker build -t ClimaX .
[+] Building 0.0s (0/0) docker:desktop-linux
ERROR: invalid tag "ClimaX": repository name must be lowercase
from climax.
Ah, okay. Feel free to adjust to all lowercase. I haven't checked these on mac docker. The tag name you use in the docker creation doesn't matter as long as you are consistent!
from climax.
Thanks for your kindness.However,something still went wrong way even I have changed the mirror name to all lowercase:
failed
567.8
567.8 CondaEnvException: Pip failed
567.8
Dockerfile:39
37 | ENV PATH=/opt/conda/bin:${PATH}
38 | ENV conda update -n base conda
39 | >>> RUN conda env create -f /tmp/environment.yml
40 |
41 | SHELL ["conda", "run", "-n", "climaX", "/bin/bash", "-c"]
ERROR: failed to solve: process "/bin/sh -c conda env create -f /tmp/environment.yml" did not complete successfully: exit code: 1
SO should I amend the Dockerfile or envirment.yaml files?
from climax.
This doesn't tell what the exact error is. Likely some package has issues installing? Python packaging is a mess.
from climax.
Thanks a lot。Now I have built an image,and then changed the repository name with all lowercase. When I tried to run the container,the process failed due to mounts denied:
(base) mac@macdeMacBook-Pro ClimaX % docker run --gpus all -it --rm --user
-v $(pwd):/code -v /mnt/data:/data --workdir /code -e PYTHONPATH=/code/src
ClimaX:latest
docker: invalid reference format: repository name (library/ClimaX) must be lowercase.
See 'docker run --help'.
(base) mac@macdeMacBook-Pro ClimaX % docker run --gpus all -it --rm --user
-v $(pwd):/code -v /mnt/data:/data --workdir /code -e PYTHONPATH=/code/src
climax:latest
docker: Error response from daemon: Mounts denied:
The path /mnt/data is not shared from the host and is not known to Docker.
You can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing.
See https://docs.docker.com/desktop/mac for more info.
ERRO[0000] error waiting for container: context canceled
(base) mac@macdeMacBook-Pro ClimaX % docker run --gpus all -it --rm --user
-v $(pwd):/code -v /mnt/data:/data --workdir /code -e PYTHONPATH=/code/src
ClimaX:latest
docker: invalid reference format: repository name (library/ClimaX) must be lowercase.
See 'docker run --help'.
(base) mac@macdeMacBook-Pro ClimaX % docker run --gpus all -it --rm --user
-v $(pwd):/code -v /mnt/data:/data --workdir /code -e PYTHONPATH=/code/src
climax:latest
docker: Error response from daemon: Mounts denied:
The path /mnt/data is not shared from the host and is not known to Docker.
You can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing.
See https://docs.docker.com/desktop/mac for more info.
ERRO[0000] error waiting for container: context canceled
from climax.
Oh /mnt/data
is just a random path. You should change it to the path you have your local data stored.
from climax.
Related Issues (20)
- Regional forecasting lat long boundaries HOT 4
- Fine tuning regional forecasts at a higher resolution HOT 2
- The pre-train code has a bug with the number of nodes HOT 5
- Cannot access pretrained weight HOT 5
- Possible bug in lr scheduler HOT 4
- Training ClimaX without pre-training HOT 3
- Questions regarding pre-training HOT 5
- Question about Using GlobalForecast Code with Pre-cropped Data HOT 2
- Pretrain dataset prepare and Out-of-memory problem HOT 1
- Would it be possible to kindly share the downscaling data? HOT 3
- How can I check for early stopping conditions in this code? HOT 1
- The replication issues with the downscaling task. HOT 7
- How to download the IFS data? HOT 1
- How to use trained ClimaX model for predictions? HOT 1
- What is the point of the hrs_each_step variable? HOT 1
- Required training time HOT 3
- Predict Range and hrs_each_step
- How to handle Nan values in training data? HOT 1
- How to view log files in tensorboard format? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from climax.