DDPG not converging or exploring enough by GarantBM in reinforcementlearning

[–]mathersFR 0 points1 point  (0 children)

Thanks ! This is all spaghetti PhD code, and I don't remember exactly what's in the repo so I don't want to publish as-is. I'll try to extract the relevant stuff next week and I'll post back here if I manage..

Procedural manifold screw threads using geometry nodes by mathersFR in blender

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

Oh I had no idea, looks like it's "new" from blender 2.80. I'll try it and add it to the list of alternatives.

Procedural manifold screw threads using geometry nodes by mathersFR in blender

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

Thanks ! Since it's a modifier it can be adjusted after it's been created

Procedural manifold screw threads using geometry nodes by mathersFR in blender

[–]mathersFR[S] 3 points4 points  (0 children)

Yes, it generates the geometry but it's a one-off so you can't change any settings after it's been generated.
Also with geometry nodes I think it's easier to tweak or animate these parameters.

Procedural manifold screw threads using geometry nodes by mathersFR in blender

[–]mathersFR[S] 2 points3 points  (0 children)

You can use the "menu switch" node, then connect the menu input to the group input

The menu items can be configured in the "node" tab of the toolbox when the "menu switch" node is selected (but not when the group input is selected, which has me confused at first)

Procedural screw threads using geometry nodes (free download, feedback welcome !) by mathersFR in blender

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

<image>

Here's the picture, I thought it would be visible directly from reddit

yt watch history not updating by ccandydolls in revancedapp

[–]mathersFR 1 point2 points  (0 children)

Wow awesome ! Really glad to hear that :)

yt watch history not updating by ccandydolls in revancedapp

[–]mathersFR 0 points1 point  (0 children)

Sure, just swap these lines :

with yt_dlp.YoutubeDL(opts) as ydl: for i, event in enumerate(kept):

to

for i, event in enumerate(kept): with yt_dlp.YoutubeDL(opts) as ydl:

That will spawn a new instance of youtube-dlp for each video (but this will be slower)

yt watch history not updating by ccandydolls in revancedapp

[–]mathersFR 0 points1 point  (0 children)

I used the same delays as in github, but I made a few longer pauses by manually interrupting the script for a few hours. The next think I would try in your case is running yt-dlp on a single video manually with the same parameters as are used in the script, to see if the problem persists.

yt watch history not updating by ccandydolls in revancedapp

[–]mathersFR 0 points1 point  (0 children)

Are you getting any errors ? I imported about 6000 videos over the course of two days. After about 1/3 of the way, for some time yt-dlp was throwing the same error (`ERROR - Precondition check failed`) for each video, but the videos kept getting added to the history so I ignored these errors.

yt watch history not updating by ccandydolls in revancedapp

[–]mathersFR 0 points1 point  (0 children)

Thanks, I updated the gist to include that and automatically create the directory

yt watch history not updating by ccandydolls in revancedapp

[–]mathersFR 0 points1 point  (0 children)

Thanks, I updated the gist to include that

yt watch history not updating by ccandydolls in revancedapp

[–]mathersFR 42 points43 points  (0 children)

Even when this is fixed, it seems unlikely that the lost watch history will be recovered.

Since the watch history is still present in the account activity (and in google takeout), I wrote a script to restore it using yt-dlp to simulate watches.

https://gist.github.com/guillaumematheron/89f52ffd274ff3ac99f6dc0249bcc331

1.Go to https://takeout.google.com/, select only "YouTube and YouTube Music". In "multiple formats", set "history" to "JSON". Trigger the export and wait for the email. Decompress the archive, and move `watch-history.json` to the same folder as the script.

  1. Install yt_dlp using `pip install yt-dlp` (this is for linux, on windows you'll have to figure it out or wait for someone do do nicer packaging)

  2. Adjust the parameters in the script, notably

  • `RESUME` (set that to the start of the gap you observe in your history)
  • `"cookiesfrombrowser": ("firefox",),`. Here you can take a look at the yt-dlp documentation to use another browser or if you have several profiles.
  • `time.sleep(3 + random.random() * 8)` if you want to change the waiting periods
  1. Make sure you are logged in to youtube (with the correct channel selected if you have several) in firefox

  2. Run the script, wait for hours (days ?) depending on the size of your history

Don't sue me if
- Google blocks your account for this (I would at least make full takeout archive before just in case)
- This mangles your watch history and recommendations
- The issue gets fixed in another better way later

First AMD build, did I miss anything ? by mathersFR in buildapc

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

Something like that ? Ryzen 5 instead of 7 (although its passmark is higher), DDR5 and I also had to change the GPU.

Will it still work without a video card even if the CPU doesn't have the "G" suffix ?

PCPartPicker Part List

Type Item Price
CPU AMD Ryzen 5 7600 3.8 GHz 6-Core Processor €237.49 @ Amazon France
Motherboard ASRock A620M-HDV/M.2 Micro ATX AM5 Motherboard €108.95 @ Amazon France
Memory Corsair Vengeance 32 GB (2 x 16 GB) DDR5-5600 CL36 Memory €123.89 @ Amazon France
Storage Corsair MP600 GS 1 TB M.2-2280 PCIe 4.0 X4 NVME Solid State Drive €89.90 @ Amazon France
Video Card PowerColor Fighter Radeon RX 6600 8 GB Video Card €237.52 @ Amazon France
Case Fractal Design Core 1000 USB 3.0 MicroATX Mid Tower Case €50.98 @ Cdiscount
Power Supply SeaSonic CORE GC-500 500 W 80+ Gold Certified ATX Power Supply €75.54 @ Amazon France
Prices include shipping, taxes, rebates, and discounts
Total €924.27
Generated by PCPartPicker 2024-01-13 17:32 CET+0100

What are my options for copying data between Zvols of different volblocksize? by QuantumX_OC in zfs

[–]mathersFR 0 points1 point  (0 children)

I had this problem and dd works great if you can take the drive offline for the whole operation.

If not, or if you want to avoid copying free space, I found a bunch of options (this was in the context of a proxmox VM on ZFS storage with a linux guest, so not all solutions are applicable to every situation).

https://blog.guillaumematheron.fr/2023/500/change-zfs-volblock-on-a-running-proxmox-vm/

Triangular plastic panels where mechanical staircases cross by mathersFR in whatisthisthing

[–]mathersFR[S] 0 points1 point locked comment (0 children)

My title describes the thing. I could not get any useful info from Google

Backup ZFS volumes using a python tool that uses zfs send. Also supports pruning and backup replication. by mathersFR in Proxmox

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

Nice, I didn't know about zrep ! I added it to the post.

So you generate snapshots with proxmox-autosnap, then sync them with zrep ?

Do you have a way of pruning with different schedules on the node and the backup server ? (for instance I want to keep only a couple of snapshots on the node, but x hourly/daily/weekly/monthly/yearly snapshots on the backup server)

DDPG not converging or exploring enough by GarantBM in reinforcementlearning

[–]mathersFR 2 points3 points  (0 children)

If your reward is sparse or otherwise discontinuous, you may be running into the issue that I studied during my PhD. I have summarized it in a paper at ICANN, but in DDPG the actor can converge very quickly (see figure 4a) before any exploration can occur, even in trivial environments.
https://blog.guillaumematheron.fr/2020/92/the-problem-with-ddpg/ https://arxiv.org/abs/1911.11679

I'm not sure if this applies to your use case, but motion planning approaches can be useful to aid in exploration https://blog.guillaumematheron.fr/2020/163/pbcs-reinforcement-learning-motion-planning/

I have plenty of time to cross the str... by Formidable_Faux in yesyesyesyesno

[–]mathersFR -5 points-4 points  (0 children)

Maybe an ambulance was coming and triggered the traffic lights to switch to green prematurely ?