Traceback (most recent call last):


 "tools/run_net.py", line 42, in <module>

main()


 "tools/run_net.py", line 23, in main

launch_job(cfg=cfg, init_method=args.init_method, func=train)


 "/home/ubuntu/SlowFast/slowfast/utils/misc.py", line 296, in launch_job

func(cfg=cfg)


 "/home/ubuntu/SlowFast/tools/train_net.py", line 474, in train

cfg.NUM_GPUS > 0,


 "/home/ubuntu/SlowFast/tools/train_net.py", line 305, in calculate_and_update_precise_bn

update_bn_stats(model, _gen_loader(), num_iters)


 "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/torch/autograd/grad_mode.py", line 49, in decorate_no_grad

return func(*args, **kwargs)


 "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/fvcore/nn/precise_bn.py", line 74, in update_bn_stats

model(inputs)


 "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__

result = self.forward(*input, **kwargs)


 "/home/ubuntu/SlowFast/slowfast/models/video_model_builder.py", line 597, in forward

x = self.head(x, bboxes)


 "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__

result = self.forward(*input, **kwargs)


 "/home/ubuntu/SlowFast/slowfast/models/head_helper.py", line 115, in forward

out = roi_align(out, bboxes)


 "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__

result = self.forward(*input, **kwargs)


 "/home/ubuntu/detectron2_repo/detectron2/layers/roi_align.py", line 105, in forward

assert rois.dim() == 2 and rois.size(1) == 5
AttributeError: 'NoneType' object has no attribute 'dim'
Traceback (most recent call last):


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/__main__.py", line 196, in <module>

main()


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/__main__.py", line 189, in main

MainControl.main()


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/MainControl.py", line 691, in main

main_module = createNodeTree(filename=filename)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/MainControl.py", line 149, in createNodeTree

Optimization.optimize(main_module.getOutput
name())


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/Optimization.py", line 631, in optimize

finished = makeOptimizationPass()


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/Optimization.py", line 537, in makeOptimizationPass

changed = optimizeModule(current_module)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/Optimization.py", line 185, in optimizeModule

changed = optimizeCompiledPythonModule(module)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/Optimization.py", line 106, in optimizeCompiledPythonModule

module.computeModule()


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/ModuleNodes.py", line 509, in computeModule

trace_collection=self.trace_collection


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/StatementNodes.py", line 165, in computeStatementsSequence

new_statement = statement.computeStatementsSequence(trace_collection)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/FrameNodes.py", line 182, in computeStatementsSequence

new_statement = trace_collection.onStatement(statement=statement)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/TraceCollections.py", line 507, in onStatement

new_statement, change_tags, change_desc = statement.computeStatement(self)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/TryNodes.py", line 112, in computeStatement

result = tried.computeStatementsSequence(trace_collection=trace_collection)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/StatementNodes.py", line 167, in computeStatementsSequence

new_statement = trace_collection.onStatement(statement=statement)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/TraceCollections.py", line 507, in onStatement

new_statement, change_tags, change_desc = statement.computeStatement(self)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/AssignNodes.py", line 278, in computeStatement

source = trace_collection.onExpression(self.subnode_source)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/TraceCollections.py", line 488, in onExpression

r = expression.computeExpressionRaw(trace_collection=self)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/OutlineNodes.py", line 227, in computeExpressionRaw

result = body.computeStatementsSequence(trace_collection=trace_collection)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/StatementNodes.py", line 167, in computeStatementsSequence

new_statement = trace_collection.onStatement(statement=statement)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/TraceCollections.py", line 507, in onStatement

new_statement, change_tags, change_desc = statement.computeStatement(self)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/TryNodes.py", line 112, in computeStatement

result = tried.computeStatementsSequence(trace_collection=trace_collection)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/StatementNodes.py", line 167, in computeStatementsSequence

new_statement = trace_collection.onStatement(statement=statement)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/TraceCollections.py", line 507, in onStatement

new_statement, change_tags, change_desc = statement.computeStatement(self)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/TryNodes.py", line 112, in computeStatement

result = tried.computeStatementsSequence(trace_collection=trace_collection)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/StatementNodes.py", line 165, in computeStatementsSequence

new_statement = statement.computeStatementsSequence(trace_collection)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/FrameNodes.py", line 182, in computeStatementsSequence

new_statement = trace_collection.onStatement(statement=statement)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/TraceCollections.py", line 507, in onStatement

new_statement, change_tags, change_desc = statement.computeStatement(self)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/LocalsDictNodes.py", line 397, in computeStatement

trace_collection=trace_collection


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/NodeBases.py", line 849, in computeStatementSubExpressions

expression = trace_collection.onExpression(expression=expression)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/TraceCollections.py", line 488, in onExpression

r = expression.computeExpressionRaw(trace_collection=self)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/ExpressionBases.py", line 1060, in computeExpressionRaw

expression = trace_collection.onExpression(sub_expression)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/TraceCollections.py", line 488, in onExpression

r = expression.computeExpressionRaw(trace_collection=self)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/FunctionNodes.py", line 953, in computeExpressionRaw

function_body.computeFunctionRaw(trace_collection)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/FunctionNodes.py", line 433, in computeFunctionRaw

self.computeFunction(trace_collection)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/FunctionNodes.py", line 449, in computeFunction

trace_collection=trace_collection


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/StatementNodes.py", line 167, in computeStatementsSequence

new_statement = trace_collection.onStatement(statement=statement)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/TraceCollections.py", line 507, in onStatement

new_statement, change_tags, change_desc = statement.computeStatement(self)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/TryNodes.py", line 112, in computeStatement

result = tried.computeStatementsSequence(trace_collection=trace_collection)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/StatementNodes.py", line 165, in computeStatementsSequence

new_statement = statement.computeStatementsSequence(trace_collection)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/FrameNodes.py", line 182, in computeStatementsSequence

new_statement = trace_collection.onStatement(statement=statement)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/TraceCollections.py", line 507, in onStatement

new_statement, change_tags, change_desc = statement.computeStatement(self)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/ConditionalNodes.py", line 578, in computeStatement

branch_yes_collection.computeBranch(branch=yes_branch)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/TraceCollections.py", line 730, in computeBranch

result = branch.computeStatementsSequence(trace_collection=self)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/StatementNodes.py", line 167, in computeStatementsSequence

new_statement = trace_collection.onStatement(statement=statement)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/optimizations/TraceCollections.py", line 507, in onStatement

new_statement, change_tags, change_desc = statement.computeStatement(self)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/ConditionalNodes.py", line 521, in computeStatement

condition.computeExpressionBool(trace_collection)


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/ExpressionBases.py", line 611, in computeExpressionBool

BaseException


 "/home/elad/anaconda3/envs/yolact-env/lib/python3.7/site-packages/nuitka/nodes/VariableRefNodes.py", line 492, in mayRaiseExceptionBool

or not self.variable_trace.getTypeShape().hasShapeSlotBool()
AttributeError: 'NoneType' object has no attribute 'hasShapeSlotBool'
