Closed patrickESM closed 1 year ago
Can ypu please try to replace this line:
https://github.com/brjathu/PHALP/blob/8076c653d0a64c64ea18012ae42975bc903fba18/scripts/demo.py#L20
with the following line:
@hydra.main(version_base="1.2", config_path="..\configs", config_name="base.yaml")
@patrickESM We have updated the code and now support better models and easy install. Could you please try again and let us know?
thank you for the line change answer regarding config paths.
This works fine. thank you!
Regarding the new models i will try as well
Thank you.
Dear brjathu,
When running the demo script as suggested in the Readme i encounter the following error:
`(phalp) D:.linux\projects_github\PHALP>python scripts/demo.py video.source="https://www.youtube.com/watch?v=xEH_5T9jMVU"
pkg://hydra.conf D:.linux\projects_github\PHALP\configs
Traceback (most recent call last): File "C:\Users\pschuelein\anaconda3\envs\phalp\lib\site-packages\hydra_internal\utils.py", line 220, in run_and_report return func() File "C:\Users\pschuelein\anaconda3\envs\phalp\lib\site-packages\hydra_internal\utils.py", line 356, in
lambda: Hydra.create_main_hydra2(
File "C:\Users\pschuelein\anaconda3\envs\phalp\lib\site-packages\hydra_internal\hydra.py", line 61, in create_main_hydra2
config_loader: ConfigLoader = ConfigLoaderImpl(
File "C:\Users\pschuelein\anaconda3\envs\phalp\lib\site-packages\hydra_internal\config_loader_impl.py", line 48, in init
self.repository = ConfigRepository(config_search_path=config_search_path)
File "C:\Users\pschuelein\anaconda3\envs\phalp\lib\site-packages\hydra_internal\config_repository.py", line 65, in init
self.initialize_sources(config_search_path)
File "C:\Users\pschuelein\anaconda3\envs\phalp\lib\site-packages\hydra_internal\config_repository.py", line 72, in initialize_sources
scheme = self._get_scheme(search_path.path)
File "C:\Users\pschuelein\anaconda3\envs\phalp\lib\site-packages\hydra_internal\config_repository.py", line 144, in _get_scheme
idx = path.find("://")
AttributeError: 'WindowsPath' object has no attribute 'find'`
the first two lines are added prints of myself.
Did I configure something wrong during install or am I calling the script incorrect?
All help much appreciated :)
Thanks