mirror of
https://github.com/gaomingqi/Track-Anything.git
synced 2025-12-16 16:37:58 +01:00
6 lines
95 B
Python
6 lines
95 B
Python
import torch
|
|
import random
|
|
|
|
def reseed(seed):
|
|
random.seed(seed)
|
|
torch.manual_seed(seed) |