Skip to content

Commit

Permalink
Fixing multiprocessing issue on some systems
Browse files Browse the repository at this point in the history
  • Loading branch information
devendrachaplot committed Apr 16, 2018
1 parent 681c5ec commit 3b5891f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions a3c_main.py
@@ -1,6 +1,7 @@
import vizdoom
import argparse
import os
os.environ["OMP_NUM_THREADS"] = "1"
import numpy as np
import torch
import torch.multiprocessing as mp
Expand All @@ -12,8 +13,6 @@

import logging

os.environ["OMP_NUM_THREADS"] = "1"

parser = argparse.ArgumentParser(description='Gated-Attention for Grounding')

# Environment arguments
Expand Down

0 comments on commit 3b5891f

Please sign in to comment.