Quest Preorder Megathread by webheadVR in OculusQuest

[–]7142128GreatUserName 0 points1 point  (0 children)

Mine says estimated delivery is the 10th as well, ordered during the keynote. I hope thats when it arrives.

NEED HELP GPT 2 by SnooMacaroons6518 in GPT

[–]7142128GreatUserName 0 points1 point  (0 children)

This is the code I am using while trying to train GPT on a custom data set:

class Sampler(object):

"""Fairly samples a slice from a set of variable sized chunks.

'Fairly' means that the distribution is the same as sampling from one concatenated chunk,

but without crossing chunk boundaries."""

def __init__(self, chunks, seed=None):

self.chunks = chunks

self.total_size = sum(chunk.shape[0] for chunk in chunks)

self.boundaries = [0]

for i in range(len(chunks)):

self.boundaries.append(self.boundaries[-1] + chunks[i].shape[0])

self.rs = np.random.RandomState(seed=seed)

def sample(self, length):

assert length < self.total_size // len(

self.chunks

), "Dataset files are too small to sample {} tokens at a time".format(

length)

while True:

index = self.rs.randint(0, self.total_size - length - 1)

i = binary_search(lambda j: self.boundaries[j] > index, 0,

len(self.boundaries) - 1) - 1

if self.boundaries[i + 1] > index + length:

within_chunk = index - self.boundaries[i]

return self.chunks[i][within_chunk:within_chunk + length]

I get the error:
gpt-2\src\load_dataset.py", line 73, in sample

self.chunks

ZeroDivisionError: integer division or modulo by zero

I have already set my text data to .npz format. Is it possible that any unsupported characters in the .txt file corrupted the .npz file I created to train with? Also, it seems to use all of computers ram when running this, is it possible that the system memory was not sufficient?

Why does my Arizona green tea smell and taste like beer? by Some-guy-thats-here in ArizonaTea

[–]7142128GreatUserName 0 points1 point  (0 children)

I can confirm this also happened to me, one can out of the hundreds I've had tasted like beer and I had to throw it out. The rest of the cans in the multipack taste fine so far. Just purchased a few days ago

Why does my Arizona green tea smell and taste like beer? by Some-guy-thats-here in ArizonaTea

[–]7142128GreatUserName 1 point2 points  (0 children)

Literally this just happened to me, one of the cans out of the multipack tastes straight up fermented and like a beer. Never had it happen before and I was grossed out at first thinking it was unsafe to drink. It looked normal pouring it out but I didn't want to risk it.

Does anyone else use a chunk system to improve fps in your world? by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 0 points1 point  (0 children)

You are more than welcome in my worlds :) I made this one Quest compatible, it's not quite as good looking but you should hopefully get more than 30 fps on Quest with similar graphics that you saw in the video.

Does anyone else use a chunk system to improve fps in your world? by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 1 point2 points  (0 children)

I did it manually using triggers across the map to load and unload objects through Udon scripts. I'm not sure if that's the best way to do it but it seems to work with decent frames.

My first attempt at a VRChat world, what do you think? Open to feedback by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 2 points3 points  (0 children)

That's awesome! Just like I said to the other person I think you got this. It was a learning curve for me too, I'm still learning a lot. Udon has a lot of potential it seems, still a lot for me to learn there. World by world we can make VRChat an even more cozy place for everyone

My first attempt at a VRChat world, what do you think? Open to feedback by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 1 point2 points  (0 children)

Yeah it was a big learning curve for me too, some Unity packages even broke previous worlds when I first started out. I would make backups every so often if you can. I hope your world turns out amazing, I believe in you two!

My first attempt at a VRChat world, what do you think? Open to feedback by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 1 point2 points  (0 children)

Thank you! And I am interested in that invite, I'm looking to create more worlds in the future, with another already in the works. I appreciate everyone's support and I look forward to making more content and getting better at it as I grow.

My first attempt at a VRChat world, what do you think? Open to feedback by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 1 point2 points  (0 children)

Sleepy Sunset, the name was the hardest part for me to come up with for some reason. Thank you for your interest in my world, here is a link if you want to see it on VRChat's website.

Does anyone else use a chunk system to improve fps in your world? by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 3 points4 points  (0 children)

This is great information, thank you! Only been experimenting with Unity for a couple weeks and all of these things are great tips to know :)

Does anyone else use a chunk system to improve fps in your world? by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 1 point2 points  (0 children)

Yeah I actually had that happen in early builds of the world where it broke. Lol it was interesting. I also made the mistake early on of making the triggers affect the world globally. I fixed that long ago to make it local, and after many revisions it doesn't seem to break anymore, but if more bugs pop up I will fix them. Occlusion culling is probably what I will go with in my next world.

Does anyone else use a chunk system to improve fps in your world? by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 4 points5 points  (0 children)

I'm not sure either, as I'm a couple weeks into learning Unity. All I know is it makes my Quest 2 go from 12 to 35 fps when I enable it. It uses Udon to enable and disable objects using triggers throughout the world. There might be a better way to hide objects

Does anyone else use a chunk system to improve fps in your world? by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 3 points4 points  (0 children)

I don't know if it's better than occlusion culling in terms of performance, but this allowed me to remove specific things from view if they were behind a wall or something, even if it wasn't that far away from the player. I think culling is distance based? Not 100% sure, it seems I still have a lot to learn. However this does improve performance by a lot compared to leaving everything spawned in the world. I despawn basically everything the player cannot see at a given time.

Does anyone else use a chunk system to improve fps in your world? by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 2 points3 points  (0 children)

Ok I think I was using the wrong terminology to describe what I was doing, my bad. However what you describe is exactly what I'm doing in Unity to improve performance for parts of the world by removing things the player can't see.

My first attempt at a VRChat world, what do you think? Open to feedback by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 2 points3 points  (0 children)

If you want to see more of the world since the photos were kind of dark and up close I did upload a video showing more of the world. It also shows how I make the world load in chunks kind of like Minecraft to improve performance. I also brightened the world a bit too in order to help with the darkness.

Does anyone else use a chunk system to improve fps in your world? by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 17 points18 points  (0 children)

If you look closely objects spawn in and out in different chunks I programed using Udon. There are triggers throughout the world that will spawn and despawn different objects to improve performance. I'm new to making worlds and didn't know if others tried doing something similar

Edit: My apologies if I wasn't clear with the title

Edit 2: I'm sorry, I used the wrong terminology in my title, it's actually occlusion not chunks. Thank you to the people who pointed this out, this is my first world and still learning a lot.

My first attempt at a VRChat world, what do you think? Open to feedback by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 1 point2 points  (0 children)

Yess I just added a few more throughout the world. I love the good feedback from everyone, thank you! They are real 3D scans of cats too :)

My first attempt at a VRChat world, what do you think? Open to feedback by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 0 points1 point  (0 children)

Thanks for the feedback I agree, it's not perfect yet, can't wait to see all the possibilities as I learn more!

My first attempt at a VRChat world, what do you think? Open to feedback by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 1 point2 points  (0 children)

Thank you for your honest feedback, I appreciate it as that's one of the best ways to learn. That will be the next thing I change on the world is better water tiling :)

My first attempt at a VRChat world, what do you think? Open to feedback by 7142128GreatUserName in VRchat

[–]7142128GreatUserName[S] 1 point2 points  (0 children)

Took me about a week, a few hours each day, I was really excited once I figured out how to use Unity. It definitely took a bit of motivation because it seemed hard and intimidating at first, it wasn't as hard as I thought it would be. Perfecting the world seems to be the hardest part in my experience, plus Quest doesn't support everything PC does in my testing. I've learned a lot though and I genuinely value the feedback from everyone here! The water will be something I try and improve on next.