Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'logs_demo/camel_48_1024_de00_17' #28

Open
gillescourtand opened this issue Nov 19, 2024 · 0 comments
Open

KeyError: 'logs_demo/camel_48_1024_de00_17' #28

gillescourtand opened this issue Nov 19, 2024 · 0 comments

Comments

@gillescourtand
Copy link

hello, I just try to test the demo.py but I have this error :

(pips2) C:\AppPython\PIPS_flow_analysis\git_pips>python demo.py
filename ./stock_videos/camel.mp4
name camel
rgbs (372, 540, 960, 3)
model_name camel_48_1024_de00_17:29:06
Traceback (most recent call last):
File "C:\anaconda3\envs\pips2\lib\site-packages\tensorboardX\record_writer.py", line 47, in directory_check
factory = REGISTERED_FACTORIES[prefix]
KeyError: 'logs_demo/camel_48_1024_de00_17'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "demo.py", line 141, in
Fire(main)
File "C:\anaconda3\envs\pips2\lib\site-packages\fire\core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "C:\anaconda3\envs\pips2\lib\site-packages\fire\core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "C:\anaconda3\envs\pips2\lib\site-packages\fire\core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "demo.py", line 97, in main
writer_t = SummaryWriter(log_dir + '/' + model_name + '/t', max_queue=10, flush_secs=60)
File "C:\anaconda3\envs\pips2\lib\site-packages\tensorboardX\writer.py", line 300, in init
self._get_file_writer()
File "C:\anaconda3\envs\pips2\lib\site-packages\tensorboardX\writer.py", line 348, in _get_file_writer
self.file_writer = FileWriter(logdir=self.logdir,
File "C:\anaconda3\envs\pips2\lib\site-packages\tensorboardX\writer.py", line 104, in init
self.event_writer = EventFileWriter(
File "C:\anaconda3\envs\pips2\lib\site-packages\tensorboardX\event_file_writer.py", line 104, in init
directory_check(self._logdir)
File "C:\anaconda3\envs\pips2\lib\site-packages\tensorboardX\record_writer.py", line 51, in directory_check
os.makedirs(path)
File "C:\anaconda3\envs\pips2\lib\os.py", line 213, in makedirs
makedirs(head, exist_ok=exist_ok)
File "C:\anaconda3\envs\pips2\lib\os.py", line 223, in makedirs
mkdir(name, mode)
OSError: [WinError 123] La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte: 'logs_demo/camel_48_1024_de00_17:29:06'

I don't understand if I did something wrong during the installation ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant