updated readmes for exercises
This commit is contained in:
parent
86e99bb814
commit
af567b80b0
3 changed files with 41 additions and 2 deletions
|
@ -45,7 +45,7 @@ if __name__ == '__main__':
|
|||
# we need to set the variable before numpy is imported!
|
||||
os.environ['OMP_NUM_THREADS'] = str(n_threads)
|
||||
|
||||
# We delay the import of numpy because we want to set OMP_NUM_THREADS.
|
||||
# We delay the import of numpy because we have to set OMP_NUM_THREADS before import.
|
||||
# We delay the import of PIL in case it uses numpy internally.
|
||||
import numpy as np
|
||||
from PIL import Image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue