Skip to content

Commit

Permalink
Installing torchgeo as part of workflow to avoid installing master
Browse files Browse the repository at this point in the history
  • Loading branch information
sfalkena committed Sep 18, 2024
1 parent 26da498 commit 989e479
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tutorials.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install pip dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
pip install -r requirements/required.txt -r requirements/docs.txt -r requirements/tests.txt planetary_computer pystac
pip install -r requirements/required.txt -r requirements/docs.txt -r requirements/tests.txt planetary_computer pystac -e .
pip cache purge
- name: List pip dependencies
run: pip list
Expand Down
1 change: 0 additions & 1 deletion docs/tutorials/visualizing_samples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
" num_epochs = 5\n",
" for epoch in range(num_epochs):\n",
" color = plt.cm.viridis(epoch / num_epochs)\n",
" print(sampler.chips)\n",
" # sampler.chips.to_file(f'naip_chips_epoch_{epoch}') # Optional: save chips to file for display in GIS software\n",
" ax = sampler.chips.plot(ax=ax, color=color)\n",
" for sample in dataloader:\n",
Expand Down

0 comments on commit 989e479

Please sign in to comment.