SalChartQA/Code/env.py

6 lines
170 B
Python
Raw Permalink Normal View History

2024-01-22 14:02:16 +01:00
import os
os.environ['TORCH_HOME'] = '/projects/wang/.cache/torch'
os.environ['TRANSFORMERS_CACHE'] = '/projects/wang/.cache'
my_variable = os.environ.get('TORCH_HOME')