Amazon Sagemaker Runs doesn't show any run with the new update - python

So I think the Sagemaker UI was updated very recently this week, and now I can't find any of my previous "runs" / "trials" / "jobs"...
When I go to home - Experiments, I can see the names of two experiments I have done in the past, but when I click on it, it just says "No runs / You don't have any runs". Not only did I have a bunch of runs / jobs (not sure if the term changed), but when I try to launch another one with my previously working script, it runs well (and saves itself well on S3) but doesn't show.
Anyone has the same problem ? Where should I turn to help ?

As part of those changes, automatically generated runs (previously called "trial components") are hidden by default.
On the "Runs" table for your experiment, click the cog icon in the upper right and enable "Show jobs". This will display any automatically generated runs in the table.

Related

ANYSY Journal popup window issue

I'm trying to automate the simulation workflow in ANSYS Workbench by using the built in journal recorder to record all the inputs and then make copies of the recorded code and run it multiple times. Everything works fine, but sometimes a window pops up in Fluent notifiying that the settings have changed and the user must confirm it before it continues. Sadly this window pops up randomly, so I would need to check for it's presence with some sort of IF sentence, but journal recording uses IronPython with a very strange (for me at least) syntax and I have no idea how to put together the IF sentence that would check the presence of this window.
The piece of code bellow confirms the pop-up window:
setup1.SendCommand(Command='(cx-gui-do cx-activate-item "Settings have changed!PanelButtonsPushButton1(OK)")')

Batch rendering in Maya with Python

I am trying to render hundreds of images from maya using redshift but it's not working, I tried everything I could find online.
for i in range(10):
do_something()
prep_render_settings()
cmds.render()
this works fine but it only renders out images with Maya's internal engine, and I've tried changing the settings to redshift manually + with code but it always ends up rendering with maya software.
for i in range(10):
do_something()
prep_render_settings()
cmds.renderWindowEditor(editor,e=True, writeImage="...")
or
for i in range(10):
do_something()
prep_render_settings()
mel.eval("BatchRender;")
both successfully switch to Redshift, but the catch is that the script doesn't wait for the rendering to finish before moving on to the next round of the loop, so I end up with only 1 image render (the last one, bu named as the first one).
I'm trying to find a way to either:
1-make cmds.render() use redshift
2-call a function that will return whether or not the rendering is in progress, and only move on with the script if it's finished -in c4d there's a function called c4d.CheckIsRunning() that does exactly that-
Any help will be super appreciated, I've been stuck on this for days.
Thank you!

Disable automatically starting unit tests in PyCharm

With the latest version of PyCharm, every time I make a change, PyCharm automatically runs my unit tests for me. Much of the time, this is very convenient. Sometimes, however, I need to turn this feature off, so that my tests only run when I explicitly invoke them. How can I do that?
There was similar questions asked before: PyCharm - run a corresponding unit test each time a file is saved
Simply, turn off feature below green arrow on the left side.
From https://www.jetbrains.com/pycharm/help/test-runner-tab.html
"AutoTest Toggle auto-test If this button is pressed, the autotest-like runner is turned on. It means that the test in the current run configuration tab will automatically rerun on changing its source code. Otherwise, to rerun such test, you have to click the rerun button"

gData+Python Calendar API - Doesn't update?

I'm trying to write a python script that I can crontab to pull about a week's worth of google calendar appointments, and take any with a Hangout attached and add the link into some visible area where OSX iCal can pick it up.
My project is on github at https://github.com/Yeraze/CalendarHangout
Right now it appears to work. It finds about 20 entries on my calendar, properly pulls the link and updates them, and then submits a batch update of 20 items back to google. However, I'm seeing some weirdness that I can't debug:
1) Several of the events have disappeared from the GCal website. They still show on all my i-devices and OSX Calendar (even after multiple forced refreshes), but they've disappeared from the website.
2) Every time I run the script, it still says these items need to be updated, like nothing's actually updating.
Can someone with some more experience on this help? What am I missing?
Update Seems they've been converted into something like the Weather icons.. I see them as little boxes at the top, right under all-day events.
I'm closing this... Seems this isn't really supported in V2 of the API. I've upgraded to V3, found similar glitches, and opened a new question .
https://stackoverflow.com/questions/20321632/gdata-api-v3-calendar-hangouts-urls-and-attachments

Quickly switching between run configurations in PyCharm

Two actions that I perform on a regular basis are "run my tests" and "run my application". Unfortunately, PyCharm uses the same keystroke (Shift+F10, i.e., "Run") for both, and that keystroke uses my "current" run/debug configuration. I have to do a separate step to change configurations, and that step involves finding and selecting the right option from a longish list -- and it also requires taking the time to think about whether I need to switch configurations.
With as frequently as I run both the tests and the app (I'm still relatively new to Python, so I want to check frequently to make sure I haven't broken anything), this is pretty cumbersome -- especially since my usual pattern is "run the tests, and if they pass, then run the app", so I'm switching configurations all the time.
Is there an easier way to run a given configuration? Ideally I'd like to be able to bind a single keystroke to "select and run my 'main.py' configuration", and another single keystroke to "select and run my 'py.test' configuration" -- but anything that means I'm not constantly hunting through a list of configurations would be helpful.
I've tried recording a macro that switches configurations and then runs, but the macro recorder doesn't actually record the "change configurations" step -- all that ends up in the macro is "run". And there doesn't appear to be a macro editor that would let me manually add that step.
I also know about the pop-up "select configuration and run" list (F9), but that still requires me to read which configuration is selected in the list, decide whether it's the one I want, and cursor up or down in the list before hitting Enter. It's not all that complicated, but it still interrupts my train of thought pretty thoroughly every time I do it. Running -- both the tests and the app -- should be simpler than this.
I know this question is super old, but to anybody with the same problem.. here it is.
I had the same problem, because I had lots and lots of scripts on the same project, and I wanted to run a script individually.
What you need to do is, open up the script (by double-clicking), and then once it is open, right-click on anything, and you will see "run [the script]" with a green play button.
here is the photo

Categories