question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Aim doesn't launch

See original GitHub issue

Hi!

As the title says, Aim doesn’t launch for some reason. My tf.keras code looks like this:

from aim import Session

# some code

history = model.fit(training_generator,
              validation_data=valid_generator,
              epochs=100,
              callbacks=[
                  AimCallback(session=Session(experiment='test_tf_keras_cb')),
                  save_best_model_callback,
                  tf_board_callback,
                  cp_callback
              ],
              verbose=1)

The training process seems to go as expected, the epochs begin and end, and there’s no message/error/warning from Aim. But when I run Aim commands in the terminal (aim up, aim version, aim upgrade), it kind of freezes: there’s no output for more than an hour. Pressing Ctrl+C aborts the command as usual. Other callbacks such as that of wandb work.

I have tried:

  • Running aim up before and during the code execution
  • Uninstalling and reinstalling Aim with pip install aim
  • Replacing aim.tensorflow with aim.keras, and removing other callbacks

The code is run on Python 3.6.6, in PyCharm 2020.3.3 Professional, Windows 10, on CPU, with Docker Desktop installed, and here is a screenshot from Task Manager.

image

Is there something I’ve missed? 🙂

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gorarakelyancommented, Apr 2, 2021

Thanks for the details @aprikyan!

The repo structure is exactly like this. It seems artifacts(metrics, params) are logged properly. I wonder why Aim gets stuck in windows then. Kinda weird behavior. Will troubleshoot it soon. Thanks for your help 😊

1reaction
aprikyancommented, Apr 1, 2021

This could be helpful too. It looks like Aim registers logs for each run in the .aim directory like this:

.aim
│
└───test_tf_keras_cb
    │
    └───d07a118-92ad-11eb-9a6d-1831bfba6804
        │  config.json
        │
        └───objects
            │  meta.json
            │
            └───map
            │   │  dictionary.txt
            │
            └───aimrecords_storage
                │
                └───acc
                    │  bucket_offsets.bin
                    │  current_bucket.bin
                    │  data_chunk_00000.bin
                    │  metadata.json
                    │  record_offsets.bin
                    │
                    └───indices
                        │
                        └───3BNVQjBZ68x9kvpey
                        │   │  index_offsets.bin
                        │
                        └───7VEAAo43RxBXvs
                            │  index_offsets.bin

There are dozens of folders (for each run I think) like this in .aim/test_tf_keras_cb with fancy names, and also an empty folder named “index”.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Game Won't Launch :: Aim Lab General Discussions
Well I try to launch Game, but it basically says running, but then i doesn't run.
Read more >
Aimlab not starting - Reddit
Whenever I hit play on steam it launches and it gives me a unity popup saying its loading, but after it loads it...
Read more >
Why AIM doesn't work on Windows 10? - AOL Instant Messenger
I've just downloaded AIM 5.1 by phoenix for Uglyows10 coff coff Windows 10 but when i run it the entire pc goes in...
Read more >
"Why Is My Aim NOT IMPROVING??" - Valorant (ft. Aim Lab)
Download the VALORANT StatsCenter Overlay ▻ https://aimlab.pro/pgyt_bvscThe VALORANT StatsCenter by Aim Lab is the best way to analyze, ...
Read more >
LOSING AIM ASSIST? HERES HOW TO FIX IT ... - YouTube
In this video, I go over the 3 main problems that could be causing you to lose aim assist in Halo Infinite, then,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found