Skip to content

ckcraig01/sam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

SAM 123

Lets Start

Installation

  • conda env
    • conda create -n sam python=3.11
    • conda activate sam
    • conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
  • export
    • export AM_I_DOCKER=False
    • export BUILD_WITH_CUDA=True
    • (這個應該不用) export CUDA_HOME=/path/to/cuda-11.3/
  • codebase

pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118 - solved with this: IDEA-Research/Grounded-Segment-Anything#412 (comment)

The detected CUDA version (11.8) mismatches the version that was used to compile
  PyTorch (12.1). Please make sure to use the same CUDA versions.  
tags: Tag(change me!)

This note is yours, feel free to play around. 🎮 Type on the left ⬅️ and see the rendered result on the right. ➡️

📝 Where do I start?

Step 1: Change the title and add a tag

  • Create my first HackMD note (this one!)
  • Change its title
  • Add a tag

🚀

Step 2: Write something in Markdown

Let's try it out! Apply different styling to this paragraph: HackMD gets everyone on the same page with Markdown. ==Real-time collaborate on any documentation in markdown.== Capture fleeting ideas and formalize tribal knowledge.

  • Bold
  • Italic
  • Super^script^
  • Subscript
  • Crossed
  • ==Highlight==

:::info :bulb: Hint: You can also apply styling from the toolbar at the top ↖️ of the editing area.

:::

Drag-n-drop image from your file system to the editor to paste it!

Step 3: Invite your team to collaborate!

Click on the Sharing menu ↗️ and invite your team to collaborate on this note!

permalink setting demo

  • Register and sign-in to HackMD (to use advanced features 🎉 )
  • Set Permalink for this note
  • Copy and share the link with your team

:::info :pushpin: Want to learn more? ➜ HackMD Tutorials :::


BONUS: More cool ways to HackMD!

  • Table
Features Tutorials
GitHub Sync 🔗
Browser Extension 🔗
Book Mode 🔗
Slide Mode 🔗
Share & Publish 🔗
  • LaTeX for formulas

$$ x = {-b \pm \sqrt{b^2-4ac} \over 2a} $$

  • Code block with color and line numbers:
var s = "JavaScript syntax highlighting";
alert(s);
  • UML diagrams
Alice->Bob: Hello Bob, how are you?
Note right of Bob: Bob thinks
Bob-->Alice: I am good thanks!
Note left of Alice: Alice responds
Alice->Bob: Where have you been?
  • Auto-generated Table of Content [ToC]

Leave in-line comments! [color=#3b75c6]

  • Embed YouTube Videos

{%youtube PJuNmlE74BQ %}

Put your cursor right behind an empty bracket {} ⬅️ and see all your choices.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published