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

ERROR: unknown option -c #10

Open
saoter opened this issue Feb 23, 2022 · 2 comments
Open

ERROR: unknown option -c #10

saoter opened this issue Feb 23, 2022 · 2 comments

Comments

@saoter
Copy link

saoter commented Feb 23, 2022

Hi, When running "Getting Started Tutorial" (demo.md), I receive the following message after the second line lg = ....:

wandb: Currently logged in as: xxxx (use wandb login --relogin to force relogin)
ERROR: unknown option -c

I am using Julia 1.7.2 on Windows 10. When trying in Jupyter notebook, it simply hangs, without the error. The crated debug.log file from wandb is the following:

2022-02-23 23:59:34,106 INFO    MainThread:17016 [wandb_setup.py:_flush():75] Loading settings from C:\Users\pk\.config\wandb\settings
2022-02-23 23:59:34,106 INFO    MainThread:17016 [wandb_setup.py:_flush():75] Loading settings from C:\Users\pk\wandb\settings
2022-02-23 23:59:34,106 INFO    MainThread:17016 [wandb_setup.py:_flush():75] Loading settings from environment variables: {}
2022-02-23 23:59:34,106 INFO    MainThread:17016 [wandb_setup.py:_flush():75] Inferring run settings from compute environment: {'program': '<python with no main file>'}
2022-02-23 23:59:34,106 INFO    MainThread:17016 [wandb_setup.py:_flush():75] Applying settings from <Settings {'_args': None, '_cli_only_mode': None, '_config_dict': None, '_cuda': None, '_debug_log': None, '_disable_meta': None, '_disable_stats': None, '_disable_viewer': None, '_except_exit': None, '_executable': None, '_internal_check_process': 8, '_internal_queue_timeout': 2, '_jupyter_name': None, '_jupyter_path': None, '_jupyter_root': None, '_os': None, '_python': None, '_require_service': None, '_runqueue_item_id': None, '_save_requirements': True, '_service_transport': None, '_start_datetime': None, '_start_time': None, '_tmp_code_dir': 'C:\\Users\\pk\\wandb\\run-None-None\\tmp\\code', '_unsaved_keys': None, 'allow_val_change': None, 'anonymous': None, 'api_key': '***REDACTED***', 'base_url': 'https://api.wandb.ai', 'code_dir': None, 'config_paths': None, 'console': 'auto', 'disable_code': None, 'disable_git': None, 'disabled': False, 'docker': None, 'email': None, 'entity': None, 'files_dir': 'C:\\Users\\pk\\wandb\\run-None-None\\files', 'force': None, 'git_remote': 'origin', 'heartbeat_seconds': 30, 'host': None, 'ignore_globs': (), 'label_disable': None, 'launch': None, 'launch_config_path': None, 'log_dir': 'C:\\Users\\pk\\wandb\\run-None-None\\logs', 'log_internal': 'C:\\Users\\pk\\wandb\\run-None-None\\logs\\debug-internal.log', 'log_symlink_internal': 'C:\\Users\\pk\\wandb\\debug-internal.log', 'log_symlink_user': 'C:\\Users\\pk\\wandb\\debug.log', 'log_user': 'C:\\Users\\pk\\wandb\\run-None-None\\logs\\debug.log', 'login_timeout': None, 'magic': None, 'mode': 'online', 'notebook_name': None, 'problem': 'fatal', 'program': None, 'program_relpath': None, 'project': None, 'quiet': None, 'reinit': None, 'relogin': None, 'resume': None, 'resume_fname': 'C:\\Users\\pk\\wandb\\wandb-resume.json', 'root_dir': 'C:\\Users\\pk', 'run_group': None, 'run_id': None, 'run_job_type': None, 'run_name': None, 'run_notes': None, 'run_tags': None, 'sagemaker_disable': None, 'save_code': None, 'settings_system': 'C:\\Users\\pk\\.config\\wandb\\settings', 'settings_workspace': 'C:\\Users\\pk\\wandb\\settings', 'show_colors': None, 'show_emoji': None, 'show_errors': True, 'show_info': True, 'show_warnings': True, 'silent': False, 'start_method': 'thread', 'strict': None, 'summary_errors': None, 'summary_warnings': 5, 'sweep_id': None, 'sweep_param_path': None, 'symlink': None, 'sync_dir': 'C:\\Users\\pk\\wandb\\run-None-None', 'sync_file': 'C:\\Users\\pk\\wandb\\run-None-None\\run-None.wandb', 'sync_symlink_latest': 'C:\\Users\\pk\\wandb\\latest-run', 'system_sample': 15, 'system_sample_seconds': 2, 'tmp_dir': 'C:\\Users\\pk\\wandb\\run-None-None\\tmp', 'username': None, '_console': <SettingsConsole.WRAP: 1>, '_jupyter': False, '_kaggle': False, '_noop': False, '_offline': False, '_quiet': None, '_show_info': True, '_show_warnings': True, '_show_errors': True, '_silent': False, '_strict': None, '_windows': True, 'is_local': False, 'run_mode': 'run', 'timespec': None, 'wandb_dir': 'C:\\Users\\pk\\wandb\\'}>
2022-02-23 23:59:34,107 INFO    MainThread:17016 [wandb_init.py:_log_setup():386] Logging user logs to C:\Users\pk\wandb\run-20220223_235934-1ciwqrer\logs\debug.log
2022-02-23 23:59:34,107 INFO    MainThread:17016 [wandb_init.py:_log_setup():387] Logging internal logs to C:\Users\pk\wandb\run-20220223_235934-1ciwqrer\logs\debug-internal.log
2022-02-23 23:59:34,108 INFO    MainThread:17016 [wandb_init.py:init():420] calling init triggers
2022-02-23 23:59:34,108 INFO    MainThread:17016 [wandb_init.py:init():425] wandb.init called with sweep_config: {}
config: {'architecture': 'CNN', 'dropout': 0.2, 'learning_rate': 0.01, 'dataset': 'CIFAR-100'}
2022-02-23 23:59:34,109 INFO    MainThread:17016 [wandb_init.py:init():471] starting backend
2022-02-23 23:59:34,109 INFO    MainThread:17016 [backend.py:_multiprocessing_setup():99] multiprocessing start_methods=spawn, using: spawn
2022-02-23 23:59:34,116 INFO    MainThread:17016 [backend.py:ensure_launched():219] starting backend process...

Any idea what is causing this?

@avik-pal
Copy link
Owner

A couple of things I would try:

  1. Have you tried running outside a notebook? And does it work there?

  2. pass settings=Wandb.wandb.Settings() to WandbLogger

@saoter
Copy link
Author

saoter commented Mar 7, 2022

I tried both, but the outcome is the same. I receive the same error.

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

2 participants