Skip to content

Errors while Training_model.py #6

@vmajor

Description

@vmajor

I am running the code in a Ubuntu 18.04 docker container with python3 and tensorflow2 and I have several issues that I kind of overcame, but perhaps not really. The latest one is this while running Training_Model.py:

Traceback (most recent call last): File "Training_Model.py", line 12, in <module> from STRATEGY.Cointegration import EGCointegration File "/tf/Heptet/STRATEGY/Cointegration.py", line 35, in <module> config_trading = FileIO.read_yaml(config_path) File "/tf/Heptet/UTIL/FileIO.py", line 19, in read_yaml with open(file_path, 'r') as stream: OSError: [Errno 22] Invalid argument: 'CONFIG\\config_trading.yml'

I looked at the code for FileIO.py and it does not seem to be doing what it is supposed to be doing. It seems to want to handle the historical data, but for some reason it is referencing the config file for Oanda, and it is attempting to manipulate the Windows convention file path.

Do you have a version of FileIO.py for a Linux environment?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions