-
Create a Python virtial environment.
- python3 -m venv ollama
-
To install
- Open Terminal
- run: curl -fsSL https://ollama.com/install.sh | sh
import torch | |
import torch.nn as nn | |
import torch.nn.utils.prune as prune | |
import numpy as np | |
import matplotlib.pyplot as plt | |
class SimpleCNN(nn.Module): | |
def __init__(self, conv1_out=32, conv2_out=64): | |
super(SimpleCNN, self).__init__() | |
self.conv1 = nn.Conv2d(1, conv1_out, 3, 1) |
Create a Python virtial environment.
- python3 -m venv ollama
To install
- Open Terminal