Select Git revision
HookEventProcessing.java
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
check_installation.py 786 B
"""
This is a helper function which can help you debug the Python installation
"""
import os
import sklearn
import numpy as np
import pathlib
import torch
print('------------------------------------------------------------------')
print('Path of this file {}'.format(os.path.abspath(__file__)))
print('Current working directory {}.'.format(pathlib.Path().resolve()))
print('')
print('The numpy version is{}.'.format(np.__version__))
print('The scikit-learn version is {}.'.format(sklearn.__version__))
print('The Torch version is{}.'.format(torch.__version__))
"""
Check that the course specific tools can be imported
"""
import dtuimldmtools
print('The dtuimldmtools package {}.'.format(dtuimldmtools))
print('------------------------------------------------------------------')