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

NCSA - new conda installation instructions #80

Open
wants to merge 39 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
4b98d74
adding yml file for conda environment
tcnichol Oct 31, 2024
026afed
changes and adding new config for planet data
tcnichol Nov 14, 2024
34b3694
start of docs for conda install
tcnichol Nov 25, 2024
1a28d32
more instructions for conda installation
tcnichol Nov 25, 2024
adefaff
new better instructios for installing dependencies using conda env
tcnichol Nov 25, 2024
c70985d
set cyclopts version to 2.9.9
tcnichol Nov 25, 2024
77dc1ca
mps for mac
tcnichol Nov 25, 2024
3818501
adding a python class for running the pipeline for easier debugging
tcnichol Nov 26, 2024
bf56b17
Merge branch 'main' into ncsa
tcnichol Nov 27, 2024
f940bd5
trying to use metal for mac os
tcnichol Nov 29, 2024
b973c6f
error now due to nvml library need to fix to work with mac
tcnichol Nov 29, 2024
6c3d1f8
Merge branch 'main' into ncsa
tcnichol Dec 2, 2024
7cd4bf0
on sd-gpu this version is needed for cyclopts
tcnichol Dec 2, 2024
fd5f647
add project name
tcnichol Dec 2, 2024
719bda3
Merge remote-tracking branch 'origin/ncsa' into ncsa
tcnichol Dec 2, 2024
76ddf1f
full paths for directories in run_native
tcnichol Dec 2, 2024
f998520
full paths for directories in run_native
tcnichol Dec 2, 2024
2ce6527
script creates and re-installs the conda environment if it already ex…
tcnichol Dec 3, 2024
b736712
better instructions
tcnichol Dec 3, 2024
d5bc317
fixes error, not sure if this is a good policy, but works enough
tcnichol Dec 3, 2024
15aac9c
reverting change
tcnichol Dec 4, 2024
fe104ab
Merge branch 'main' into ncsa
tcnichol Jan 1, 2025
d45a02b
adding command to readme
tcnichol Jan 1, 2025
e8d63bb
setup for running fast pipeline
tcnichol Jan 1, 2025
923117b
fix environment creation
tcnichol Jan 3, 2025
15169d6
adding sdgpu specific config file
tcnichol Jan 16, 2025
5845a75
Merge branch 'main' into ncsa
tcnichol Jan 16, 2025
cac4750
adding environment based on the one used by Jonas.
tcnichol Jan 16, 2025
714befc
adding TODO
tcnichol Jan 16, 2025
4e004cc
checking in local config for sd-gpu
tcnichol Jan 18, 2025
5400651
initial commit of S2 (sentinel 2) data download
tcnichol Jan 20, 2025
d3bad67
fix environment
tcnichol Jan 21, 2025
0c028c9
change path data is on taiga
tcnichol Jan 22, 2025
a24fa25
moved data
tcnichol Jan 22, 2025
5b3961d
fix config
tcnichol Jan 25, 2025
29b15f5
these are nohup tests and will be removed later.
tcnichol Jan 25, 2025
8e48ed7
new env
tcnichol Jan 26, 2025
6307085
successfully create pipeline
tcnichol Jan 26, 2025
596db86
run sentinel 2 pipeline in python
tcnichol Jan 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into ncsa
# Conflicts:
#	darts-segmentation/src/darts_segmentation/segment.py
#	pyproject.toml
  • Loading branch information
tcnichol committed Nov 27, 2024
commit bf56b172a2ea33ae6fbb27be2a71702fbacc0caf
5 changes: 2 additions & 3 deletions darts-segmentation/src/darts_segmentation/segment.py
Original file line number Diff line number Diff line change
@@ -64,9 +64,8 @@ def __init__(self, model_checkpoint: Path | str, device: torch.device = DEFAULT_
Defaults to torch.device("cuda") if cuda is available, else torch.device("cpu").

"""
# TODO better way to check device here
self.device = torch.device("cpu") if not torch.cuda.is_available() else torch.device("cuda")
self.device = torch.device("cpu") if not torch.backends.mps.is_available() else torch.device("mps")
model_checkpoint = model_checkpoint if isinstance(model_checkpoint, Path) else Path(model_checkpoint)
self.device = device
ckpt = torch.load(model_checkpoint, map_location=self.device)
self.config = validate_config(ckpt["config"])
self.model = smp.create_model(**self.config["model"], encoder_weights=None)
You are viewing a condensed version of this merge commit. You can view the full changes here.