Closed KridaCreations closed 2 years ago
i have solved this error but now iam getting this error:
C:\Users\Abhishek\AppData\Local\Programs\Python\Python39\lib\site-packages\torchvision\transforms\transforms.py:287: UserWarning: Argument interpolation should be of type InterpolationMode instead of int. Please, use InterpolationMode enum.
warnings.warn(
Traceback (most recent call last):
File "C:\git_projects\mlproject\improving_segmentation_with_selfsupervised_depth\inference.py", line 175, in
i have a folder with sequence of images from a video
Based on the given paths, I guess that you use Windows. The project only supports Linux. Probably, the backslashes of Windows paths mess up the path handling in the source code, which assumes that slashes are used.
i am getting this error
Start inference2021-11-13_07-43-52-534157 Traceback (most recent call last): File "C:\git_projects\mlproject\improving_segmentation_with_selfsupervised_depth\inference.py", line 174, in
inference_main(cfg)
File "C:\git_projects\mlproject\improving_segmentation_with_selfsupervised_depth\inference.py", line 128, in inference_main
expand_cfg_vars(cfg)
File "C:\git_projects\mlproject\improving_segmentation_with_selfsupervised_depth\train.py", line 929, in expand_cfg_vars
expand_cfg_vars(cfg[k])
File "C:\git_projects\mlproject\improving_segmentation_with_selfsupervised_depth\train.py", line 933, in expand_cfg_vars
cfg[k] = cfg[k].replace(cfg[k].split("/")[0], getattr(MachineConfig, var_name))
AttributeError: type object 'MachineConfig' has no attribute 'LOG_DIR\inference2021-11-13_07-43-52-534157'