mirror of
https://github.com/openai/CLIP.git
synced 2026-01-26 15:29:48 +00:00
Correctly initializing the logit scale parameter
adding numpy import
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from collections import OrderedDict
|
||||
from typing import Tuple, Union
|
||||
|
||||
import numpy as np
|
||||
import torch
|
||||
import torch.nn.functional as F
|
||||
from torch import nn
|
||||
|
||||
Reference in New Issue
Block a user