Traceback (most recent call last):



 "<ipython-input-1-15484267b926>", line 1, in <module>

runfile('C:/Users/paulj/Documents/Upwork/Ravi_Balsa/futures_system.py', wdir='C:/Users/paulj/Documents/Upwork/Ravi_Balsa')



 "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 880, in runfile

execfile(filename, namespace)



 "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile

exec(compile(f.read(), filename, 'exec'), namespace)



 "C:/Users/paulj/Documents/Upwork/Ravi_Balsa/futures_system.py", line 6, in <module>

system.combForecast.get_combined_forecast("EDOLLAR")



 "c:\users\paulj\documents\upwork\richard spencer\pysystemtrade\systems\system_cache.py", line 685, in wrapper

**kwargs)



 "c:\users\paulj\documents\upwork\richard spencer\pysystemtrade\systems\system_cache.py", line 582, in calc_or_cache

value = func(this_stage, *args, **kwargs)



 "c:\users\paulj\documents\upwork\richard spencer\pysystemtrade\systems\forecast_combine.py", line 899, in get_combined_forecast

raw_multiplied_combined_forecast = self._get_raw_combined_forecast(instrument_code)



 "c:\users\paulj\documents\upwork\richard spencer\pysystemtrade\systems\forecast_combine.py", line 914, in _get_raw_combined_forecast

instrument_code)



 "c:\users\paulj\documents\upwork\richard spencer\pysystemtrade\systems\system_cache.py", line 656, in wrapper

return func(*args, **kwargs)



 "c:\users\paulj\documents\upwork\richard spencer\pysystemtrade\systems\forecast_combine.py", line 849, in get_forecast_diversification_multiplier

return self.get_forecast_diversification_multiplier_estimated(instrument_code)



 "c:\users\paulj\documents\upwork\richard spencer\pysystemtrade\systems\system_cache.py", line 685, in wrapper

**kwargs)



 "c:\users\paulj\documents\upwork\richard spencer\pysystemtrade\systems\system_cache.py", line 582, in calc_or_cache

value = func(this_stage, *args, **kwargs)



 "c:\users\paulj\documents\upwork\richard spencer\pysystemtrade\systems\forecast_combine.py", line 838, in get_forecast_diversification_multiplier_estimated

**div_mult_params)



 "c:\users\paulj\documents\upwork\richard spencer\pysystemtrade\syscore\divmultipliers.py", line 92, in diversification_multiplier_from_list

corrmatrix, weights, **kwargs)



 "c:\users\paulj\documents\upwork\richard spencer\pysystemtrade\syscore\divmultipliers.py", line 38, in diversification_mult_single_period

(float(np.dot(np.dot(weights, corrmatrix), weights.transpose()))**.5),

ValueError: shapes (1,) and (4,1) not aligned: 1 (dim 0) != 4 (dim 0)

Traceback (most recent call last):


 "/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/worker.py", line 202, in _worker_loop

data = fetcher.fetch(index)


 "/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch

data = [self.dataset[idx] for idx in possibly_batched_index]


 "/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>

data = [self.dataset[idx] for idx in possibly_batched_index]


 "/content/detectron2_repo/detectron2/data/common.py", line 43, in __getitem__

data = self._map_func(self._dataset[cur_idx])


 "/content/detectron2_repo/detectron2/utils/serialize.py", line 23, in __call__

return self._obj(*args, **kwargs)


 "/content/detectron2_repo/detectron2/data/dataset_mapper.py", line 176, in __call__

annos, image_shape, mask_format=self.instance_mask_format


 "/content/detectron2_repo/detectron2/data/detection_utils.py", line 393, in annotations_to_instances

) from e
ValueError: Failed to use mask_format=='polygon' from the given annotations!
