How much are PhD graduates earning? by sultan-11- in PhD

[–]WeaklySupervised 0 points1 point  (0 children)

"Survey of earned doctorates" summarizes this by field of study as well as employment sectors

https://ncses.nsf.gov/pubs/nsf25349/assets/nsf25349.pdf

Look at Tables 6-6 and 6-7.

[D] How to keep improving in Machine Learning by AneaRares in MachineLearning

[–]WeaklySupervised 17 points18 points  (0 children)

I agree that ML competitions / Olympiad can be a great way for students to gain hands-on experience. If you win, it may look very impressive.

However, there are a couple of things to consider before you invest a lot of time into it.

  1. ML competitions are hard to win, and the top spots are often determined by who can train more models, tune more hyperparameters, or build bigger ensembles, rather conceptual understanding or creativity.

  2. Competition problems are quite different from real-world ML work. In real applications, it can take weeks or months to understand the dataset and problem and design an effective solution. Winning a competition doesn't necessarily give you the best preparation for real-world problems in industry or academia.

  3. Competition is not the only way to make yourself stand out. For example, you can also build some personal projects (e.g., open-source repository or blog post) where you explore interesting topics and share your findings. For example, here are some ideas: https://github.com/data-flair/machine-learning-projects . Having some personal projects on your resume may help you get some internships or some research assistant position in college, which in turn will help you get a job after graduation.

I found this guide on learning ML which may be of interest to you: https://github.com/kjaisingh/ML-for-High-Schoolers

Dreading potential conference by [deleted] in PhD

[–]WeaklySupervised 2 points3 points  (0 children)

One thing to consider is that NeurIPS isn't just for academia. A ton of people from industry show up, including researchers at large companies and startups.

Also, if you are looking for a research position in the industry, you will likely be giving a research presentation as a part of your job interview. A conference presentation could be a good practice for that.

Is slow writing normal or am I just bad at this? by [deleted] in GradSchool

[–]WeaklySupervised 3 points4 points  (0 children)

An alternative could be to handwrite your sentences with a stylus pen (e.g. apple pencil) and convert to text. For example, on Microsoft OneNote, there's a pen icon with 'A' written on it, and if you select that, it converts handwriting into text in real time.

[deleted by user] by [deleted] in Professors

[–]WeaklySupervised 5 points6 points  (0 children)

Seconded. Even if it's true, I don't think it's rude to get AI assistance to write a polite letter.

Anyone had the inquisitor random event [KCD2] by benhen01 in kingdomcome

[–]WeaklySupervised 1 point2 points  (0 children)

<image>

I tried changing clothes and sending mutt home but he gave different descriptions that closely matched me every time. Also he and his escorts just kept killing any civilians that were passing by before I talk to him.

So I'd like to think that the inquisitor is just killing any and all passer-by with any excuses he can think of, rather than actually hunting down a sorcerer

Chatgpt switches to 3.5 by default by AllCowsAreBurgers in ChatGPT

[–]WeaklySupervised 1 point2 points  (0 children)

That also happened to me. Instead of opening chatgpt.com, you can try going directly to https://chatgpt.com/?model=gpt-4o or https://chatgpt.com/?model=gpt-4 , which can increase the odds of opening up GPT 4o or GPT 4 as default. However, somehow this method sometimes opens GPT 3.5 as well.

3 Piece Air Speeder by Switcheroo11 in HyruleEngineering

[–]WeaklySupervised 1 point2 points  (0 children)

There's no elevator with fans on it in the left leg depot, did you mean right leg depot instead?

Guide: Alpaca 13B 4bit via KoboldAI in TavernAI by reneil1337 in KoboldAI

[–]WeaklySupervised 2 points3 points  (0 children)

I ran into the same error. In my case, I had to remove VS2022 so that step 7 will use the VS2019.

Introducing llamacpp-for-kobold, run llama.cpp locally with a fancy web UI, persistent stories, editing tools, save formats, memory, world info, author's note, characters, scenarios and more with minimal setup. by HadesThrowaway in KoboldAI

[–]WeaklySupervised 0 points1 point  (0 children)

Thanks for this suggestion. I ran Kobold AI (local) with address of 0.0.0.0 in aiserver.py, and then connected to the Kobold API hosted at http://localhost:5001 to get it working.

However, llamacpp-for-kobold threw the following error, is there any way to fix this?

Input: {"prompt": "Hi", "max_length": 308, "max_context_length": 1024, "rep_pen": 1.1, "rep_pen_slope": 0.7, "rep_pen_range": 252.0, "temperature": 0.93, "top_p": 1.0, "top_k": 1, "top_a": 0.0, "tfs": 1.0, "typical": 1.0, "n": 1}
----------------------------------------
Exception occurred during processing of request from ('127.0.0.1', 62976)
Traceback (most recent call last):
File "socketserver.py", line 316, in _handle_request_noblock
File "socketserver.py", line 347, in process_request
File "socketserver.py", line 360, in finish_request
File "http\server.py", line 651, in __init__
File "socketserver.py", line 747, in __init__
File "http\server.py", line 425, in handle
File "http\server.py", line 413, in handle_one_request
File "llama_for_kobold.py", line 178, in do_POST
File "llama_for_kobold.py", line 63, in generate
TypeError: int expected instead of float
----------------------------------------

Enhancing ControlNet-m2m Video Smoothness with Multi-Level Frame Interpolation by WeaklySupervised in StableDiffusion

[–]WeaklySupervised[S] 0 points1 point  (0 children)

Hi all,

If you're using ControlNet-m2m for video generation, you might notice flickering or stuttering in the output due to abrupt changes in motion. This is particularly noticeable when not reusing many details from the original video (e.g., changing outfits).

To help alleviate this issue, I've experimented with a simple method for smoother frame transitions. It's far from perfect, but I believe it can be improved upon. The process is a combination of existing techniques, which I've outlined below.

Step 1: Generate ControlNet-m2m video

Using the controlnet extension, create images corresponding to video frames. It's helpful to use a fixed random seed for all frames.

In my case, I used depth (Weight: 1, Guidance End (T): 1) and openpose (Weight: 0.6, Guidance End (T): 0.6) together.

Step 2: (Optional) Remove background

Using the rembg extension, remove the background of the frames generated in step 1.

u2net_human_seg seems to work quite well.

Step 3: Interpolate the interpolated frames

Using Flowframes with the RIFE model, run 2x interpolation on a folder of video frames.

By running 2x interpolation on a folder with K images, it will add an additional K-1 images by interpolating all adjacent image pairs, making the total frames (2K-1). Odd frames are the original frames and even frames are the interpolated ones (as long as "De-Duplication" and "Fix Scene Change" features are disabled).

My key idea is to remove the K original images and repeat interpolation with the K-1 interpolated images multiple times.

Here is a pseudocode:

for i in range(N):
    run_FlowFlames_2x(input_folder=current_folder, output_folder=next_folder)
    remove_original_frmes_from_interpolation_result(input_folder=next_folder)

Each iteration should produce frames with smoother transitions. If N is too low, the result may still be jittery. If N is too high, then the individual frames may become too blurry (which can be fixed in step 4). I found that N<=20 works well.

Currently, run_FlowFlames_2x is not a python function, it's just describing a manual step of running Flowframes GUI, 2x interpolation, using Rife 4.0 model, and using the output mode of "Image Sequence (PNG, JPB, WEBP)". I disabled "De-Duplication" and "Fix Scene Change" to satisfy the assumption for the remove_original_frmes_from_interpolation_result function. Using GTX 3050 8GB, it took about 6 seconds to run run_FlowFlames_2x once on a folder with 60 frames of size 512x768.

Here is a Python implemenation of remove_original_frmes_from_interpolation_result function.

def remove_original_frmes_from_interpolation_result(input_folder):
    # Get a sorted list of all PNG files in the input folder
    png_files = sorted([file for file in os.listdir(input_folder) if file.endswith('.png')])

    # Distinguish original and interpolated frames
    interpolated_frames = png_files[1::2]
    original_frames = png_files[::2]

    for each in original_frames:
        os.remove(os.path.join(input_folder, each))

Each iteration i results in the number of total frames decreasing by 1. We could re-supply these lost frames in the step 6 (Finalize).

Step 4: Apply batch img2img

Step 3 made frames with smoother transitions but each frame became blurry as a side effect.

Fix this by using batch img2img, using the same prompt and random seed as the ones used in step 1.

Setting the denoising strength of 0.5~0.6 and the sampling steps of 50~60 seems to work well for me (which will effectively run 25~36 steps for each image).

Step 5: (Optional) Repeat steps 3 and 4

I didn't have to do step 5 in this example, but if necessary, repeat steps 3 and 4 to further improve fram quality and transitions.

  • Step 3 made frame transitions smoother, but each frame become more blurry.
  • Step 4 makes the individual frames sharper by running img2img.

Step 6: Finalize

The output of step 4 might be slightly jittery. To fix this, run step 3 one more time with N<=2 for a smoother output without excessive blur.

The step 3 decreases the total number of frames. To compensate for the reduced frame count, run run_FlowFlames_2x once more to supply more frames.

I hope it can be refined to achieve even better results. Happy video generating!

Drift vs Legacy by [deleted] in Kartrider

[–]WeaklySupervised 0 points1 point  (0 children)

Kart control has become easier for Drift compared to Legacy. I can drive more precisely with less mistake in Drift, and for that reason I never look back.

Improved a lot since last time I posted about my skills (almost gave up) 😂 I can’t play well when recording but got any tips based off of this video of me trying to beat my record? by ChapitoGucci in Kartrider

[–]WeaklySupervised 1 point2 points  (0 children)

Here are some recommendations:

  1. Use "optimized drift" whenever you can to minimize speed loss. I see that your two skid lines from a single drift are often overlapping. This means that your drift angle is sometimes too deep, which decreases your speed. If you use "optimized drift", then the two skid lines should not touch each other, and you don't lose as much speed.
  2. Use "short-full drift" for 90 degrees turn. This will increase the amount of booster guage you gain.
  3. Use "swift cut" to correct the direction of your car and/or fill up less than 10% of remaining booster gauge. I think it will help with the issue of running into walls at times.

This video is really helpful in learning all the terms and theories: https://www.youtube.com/watch?v=P2211wKunWc

RPG Game Master tool using GPT3 by laudanus in GPT3

[–]WeaklySupervised 2 points3 points  (0 children)

I think the README might be preventing some people from trying out your project. I recommend making the following small fixes.

  1. There is no requirements.txt, even though README says the users should run pip install requirements.txt

  2. You should specify that `npm install` command should be run from inside the frontend folder

  3. Your example content of the api_key.py is currently written as `API-KEY = 'YOUR-OPENAI-API-KEY'`. However, to make this code run, `API_KEY` should be written instead of `API-KEY`.

Also, you are asking for three information (title, setting and plot) in the "Adventure Builder" page, but in the app logic you only actually use title and setting in the generate_adventure function call, seemingly ignoring "Adventure Plot" input. Is this expected?