#OctoTex - Texture Remastering Tool

1 messages · Page 5 of 1

left orchid
#

👀

proud ore
#

Теней как ты и сказал не хватает

#

но выглядит всеравно лучше чем плоская текстурка с пбр

left orchid
#

А нормаль уже обычным алгоритмом

left orchid
#

Без анбейкера

proud ore
#

Анбейкер у меня не работает)

left orchid
#

Нормаль алгоритмом

left orchid
#

Ну тогда эф

#

Реально выглядит странно

#

Будто бы нормалей нет

proud ore
#

Ну я знаю почему не работает

#

у меня старый чекпоинт

left orchid
#

Слушай

#

Ведь реально

#

Нормалей нет

proud ore
#

а они есть

left orchid
#

Ты использовал legacy?

proud ore
#

Блять я удалил старую нормаль от нейроник

proud ore
#

Но скажу так

left orchid
#

Я говорю попробуй legacy нормаль сгенерировать

proud ore
#

они вообще не видные

proud ore
#

ок

#

ток уже не буду соря

#

н

left orchid
#

Лан

proud ore
#

с другой мб попробую

#

а то эту испорчу

left orchid
#

Надо будет переделать нейронки эти вообще

#

С нуля напилить

proud ore
#

хех удачи

#

Это вот то что я сделал

left orchid
#

ok i gonna train new AI models for pbr

#

with metalness and emissions

left orchid
#

oops, i can't train in 2k

#

i have no enough space left on my ssd

#

sh!t

proud ore
left orchid
#

вот тебе смешно

#

а я даже удалить ничего не могу

#

только если работать на лабе на все 100%

#

но я хочу дебаг локально производить(

left orchid
#

take me home

#

to the place

#

i beloong

#

бл

#

а какой там порядок то был

#

west Virginia

#

mountain mamma

#

take me home

#

country roads

left orchid
#

New dataset

#

and that's not all

#

im prepearing even more

left orchid
jaunty kindle
#

woah

#

that's a very big dataset

#

What does it contain?

proud ore
left orchid
#

было меньше

left orchid
# jaunty kindle What does it contain?

paper, metals, painted walls, bricks, tiles, asphalt, cardboards, carpets, chipboards, clays, concretes, grounds, fabric, gravel, granite, lether, stones, rocks

#

alot of things

#

planks, wood

#

snow, sand, signs

#

and every texture is rotated randomly

#

with coordinates saving ofc

left orchid
#

metalness and emission

proud ore
left orchid
#

это не моё решение

#

я вручную не буду делать датасет

proud ore
#

?

left orchid
#

уж извините

proud ore
#

Before and after

left orchid
#

Ета что

#

Ручками?

proud ore
#

Диван

#

ды

left orchid
#

Ок

proud ore
#

ОК

left orchid
#

А я новые нейронки хреначу

proud ore
#

Прост если брать то что твоя нейронка делает

#

то там кучу артефактов

left orchid
#

Да, Я понял

proud ore
#

не точностей

left orchid
#

Датасет маленький был

proud ore
left orchid
#

Щас побольше, намного

proud ore
#

Ну посмотрим

left orchid
#

Думаю будет шик

proud ore
#

Also some other POM

proud ore
#

или ты все нейронкой хочешь?

left orchid
#

Хочу нейронкой

proud ore
#

Панятна

#

нахлебник

#

шоб те все на блюде нейронка давала

left orchid
#

Одно могу сказать точно, POM будет ещё лучше чем был

#

🥰

proud ore
#

Возможно

#

надеюсь это будет так

left orchid
#

Можешь не переживать

#

Я на 100% уверен

proud ore
#

А каким раньше датасет был?

#

по кол-ву

left orchid
#

Хз, там было около 500 или чёт такое

#

Щас около 2к фоток и это только чистый цвет

proud ore
#

а ну тогда в 4 раза

#

неплохо

#

Но все таки делала бы это компания

#

должны быть 40к))

left orchid
#

При этом я написал скрипт который их все попереворачивал, чтобы не было схожестей у тех же кирпичей

left orchid
proud ore
left orchid
#

Я весь ambientCG выкачал, и ещё сверху докинул

proud ore
#

хотя к слову у Нвидия такая хуня будет

#

мб

left orchid
#

Будет

#

Они обещали

proud ore
left orchid
#

Они по оси Х размытые будто бы

#

Не детектит тупо

proud ore
#

Я об этом и говорю

#

да

#

кстати

left orchid
#

Это как раз таки из-за параллельных горизонтальных линий одинаковых на куче фоток

#

Теперь они все перевёртыши

#

И разные

#

И их в разы больше

#

Щас нормали на ночь оставил

#

Потолок поставил 500 эпох

#

А текущая нейронка с нормалями около 170 эпох только

#

Крч, во всех направлениях попытался улучшить

#

Посмотрим что будет

proud ore
#

Посмотрим

left orchid
#

Вот фотка с 5 эпох

#

Уже лучше видно разделения

#

Хотя это только 5 эпох

proud ore
#

нууу

#

аа

left orchid
#

Но будет лучше

proud ore
#

ну удачи

#

посмотрим как оно потом будет

proud ore
#

однообразная

left orchid
#

Посмотрим крч

proud ore
#

а более сложные б были

left orchid
#

Но будет лучше однозначно

proud ore
#

Верю

left orchid
#

Чем текущая модель

proud ore
#

Но насколько

#

это другой вопрос

left orchid
#

На все 100

proud ore
#

Если на все 100

left orchid
#

Я уверен

proud ore
#

тогда оно должно меня удовлетворить

#

если да

#

то на 100

#

если нет то не на 100))

left orchid
#

Причем это не просто алгоритм как Legacy

#

Поэтому из одного лишь цвета можно вытянуть больше

proud ore
#

Ну посмотрим

#

когда выйдет потещу

#

Легаси далеко конечно не идеален

left orchid
#

Мне ещё нужно тренировать шереховатость, металлик, эммишен, РОМ

proud ore
#

но порой выдает очень неплохие результаты

proud ore
#

а то страдает все же

#

артефактами

left orchid
#

500 эпох так же накину, не бойся

proud ore
#

и порой не точностями

left orchid
#

И ещё новые модели

proud ore
#

а надо 1000

#

хыыыы

left orchid
#

Теперь ещё сможет херачить эммишен автоматически

#

И металлик

proud ore
#

К слову насчет емишн

#

тут весьма спорно

#

как и металик

left orchid
#

Да

#

Не, металлик нужно

#

Однозначно

proud ore
#

шерех и нормали везде нужны

#

а это далеко не везде

left orchid
#

А вот эммишен уже рил спорно

left orchid
#

Как не крути

proud ore
#

Металик нужен намного больше чем емишн кнч

left orchid
proud ore
#

но не настолько\

left orchid
proud ore
left orchid
#

Да

#

Но посмотрим что выйдет

proud ore
#

Угу

left orchid
#

Там по большей части фасады зданий

#

С включенным светом в окнах

#

Ну и потолки с лампами

#

Хз крч

#

Спорно

#

Но вот металлик нада

proud ore
#

ну они единичны по сути

proud ore
#

из 15 текстур всего 3 металика

left orchid
#

Всё равно, если это метал, его нужно отрендерить как метал

proud ore
#

да

#

но а как быть с тем

#

что на текстуре есть как метал так и не метал?

left orchid
#

Уже всё учтено

proud ore
#

Вот тут лично у меня весьма спорно

left orchid
#

Там в датасете даже есть текстуры дерева например, с гвоздями, и там метал только гвозди

proud ore
left orchid
#

Старые текстуры

proud ore
#

вдруг там будет часть метал часть стены

left orchid
#

Посмотрим что выдаст

proud ore
#

лан

left orchid
#

Ничего не могу сказать

#

Самому интересно

proud ore
#

и долго еще?

left orchid
#

Да

#

Я не могу посмотреть сколько осталось

#

Комп то на работе

#

Херачит во всю

proud ore
#

Поставил майнер на комп начальника KEKW

left orchid
#

Не

#

У начальника видюха слабее

#

У него 2080 супер

proud ore
#

Ну на комп который он тебе дал хз

left orchid
#

У меня 3080

proud ore
#

Понял

left orchid
#

Ну и сверху 36 гигов озу лан

proud ore
#

нихуямба

#

на таком то железе

left orchid
#

Хорошо работать программистом 👍🏼

proud ore
#

у меня 3060ti

#

и всего 16гб

left orchid
#

А дома i5 3570

#

16 гигов озу ддр3

#

gtx1650

proud ore
#

🫠

left orchid
#

Хуета крч

proud ore
#

такая же

left orchid
#

3080 моя по сути, но мне её тупо ставить некуда кроме офисного пк

proud ore
#

Ааа

#

понял

left orchid
#

Думаю купить Рязань какую-нибудь

proud ore
#

у меня 5 2600

#

хотя я думал шоб его улучшить

left orchid
#

Ryzen 7 5800x3d например

proud ore
#

эт из новых?

left orchid
#

Закупится оперативной, 64 гига нахуярить

#

Вполне выполнимо

left orchid
proud ore
#

не жирно ли?

left orchid
#

Новый не буду покупать

left orchid
proud ore
#

Потому

left orchid
#

Но это уже потом

proud ore
#

немецию

left orchid
#

Mit meine Frau so

#

😛

proud ore
#

Ich verstehe Sie nicht

left orchid
#

Хехехе

#

Шучу, никому ничего не должен

#

Жена немка, вот и хотим уехать

proud ore
#

Мой однокл знал немецкий

#

он щас там

proud ore
#

А тебе сколько кстати?

left orchid
#

21 💀

proud ore
#

Шо так рано все

left orchid
#

Oder in deutsch, ich bin einundzwanzig Jahre alt

left orchid
proud ore
#

я так

left orchid
#

Про свадьбу?

proud ore
#

ну типо

left orchid
#

Да я сам не думал что женюсь так быстро

proud ore
#

я думал прост тебе там 25-26+

#

раз уже жена есть

left orchid
#

Но жена ахуенная, готовит невероятно, любит, всегда выслушает, и ещё такая мягкая, хаха

proud ore
#

Хах

#

ну повезло тебе наверно)

left orchid
proud ore
#

👍

#

А ты кстати откуда?

left orchid
#

У меня очень много фоток её еды)

proud ore
#

Я помню ты по моему говорил что из Казахстана

left orchid
proud ore
left orchid
#

Хаты нет своей правда, никто из родственников не оставил даже надежды на квартиру, ни с моей стороны, ни с её

left orchid
#

А ты откуда?

proud ore
left orchid
proud ore
left orchid
left orchid
proud ore
left orchid
#

Каждые два месяца цены поднимаются всё больше и больше

#

И ещё куча наитупейших законов появляется

#

Бедная страна

#

По сути много драгоценных ископаемых, но вот только все залежи распродали

proud ore
#

корупции просто дохуя

left orchid
#

А щас вообще безвизовый режим китайцам нахуярили

left orchid
proud ore
#

но не в таком маштабе как у нас сейчас

left orchid
#

У нас всё очень зупущено

proud ore
#

Вот смотри

#

была помощь на 250 млрд $

left orchid
#

Большая часть зп у человека уходит на еду, слава богу если у него хата своя есть, иначе он будет тупо бомжом

proud ore
left orchid
#

Средняя за в месте где я живу, 90к тенге

proud ore
left orchid
#

А у какой-нибудь уборщицы или сторожа вообще 60к

proud ore
#

или в долларах

left orchid
#

Это на месяц, на еду, коммуналку, и другие траты

#

Бумагу туалетную купить, мыло, шампунь

#

Снять хату за эти деньги нереально здесь

#

Хата которую мы снимаем стоит больше

#

А это однушка 💀

proud ore
#

оказываеться тенге еще дешевле чем рубль 💀

#

Моих деньгах это где то 8к грн

#

А ты кем работаешь?

left orchid
#

Программист

#

Системы виртуализации

#

Фулл стек веб программист, иногда девопёс

proud ore
#

А понял

#

маловато как то

#

для тех кто обещал кучу бабла)

left orchid
#

Но свою Я не озвучивал)

proud ore
#

аа

#

я тупой(

left orchid
#

По меркам рашки конечно не сверх, но по нашим, нормас

#

Но у нас тут железо пиздец дорогое

#

Даже в Германии дешевле

#

С их зарплатами блять

proud ore
#

Понятно

left orchid
#

Там уже будет реальнее собрать топ

#

Ну а пока так

drifting vortex
surreal anvil
#

It'd be good to have this guide in the README.md for the github repo

mental wasp
surreal anvil
#

run.bat doesn't include downloading imagemagick or the models

mental wasp
#

Models link is there below👇...imagemagick is an application required to be installed seperately...

surreal anvil
#

yep. all solvable things, and all asked about in this channel already. But if you have a github already for the project, keeping the setup instructions on there up to date and complete is a good idea

strong root
#

I've only ever heard issues of people using the Windows Store python, it's better to just download python from their site IMO

surreal anvil
#

this was more along the lines of me not knowing that I'd need to run pip install using requirements.txt, or that I would need to get imageMagick separately. I was just trying to follow the github readme

mental wasp
#

I didn't created this tool...I collected every half information and made this beginners guide...I already told about this to Alex...and there is more you need to know...first I have to check if he updated the requirements.txt

mental wasp
#

Then #1146726031022108752 message

surreal anvil
#

oh I've got it all up and running, as far as I can tell. waiting on it to finish processing a batch of textures right now

#

but my main feedback about the overall process is that it's best to just keep the github readme up to date in terms of setup and running instructions, instead of relying on discord pinned messages

mental wasp
#

Exactly my concern is also same...he forgets plus he is constantly working on it not making guide...

#

I had a nightmare finding all the hocrux

#

@surreal anvil Sorry for the ping, 1 last tip

  • AI creates better Roughness and Displacement .
  • Legacy creates better Normals and Metalness
unborn ridge
zealous basin
#

If you're only ever using the same models all the time, I'd recommend converting them to onnx and using onnruntime-gpu instead of pytorch. It's a much smaller dependency. And if you wanna make the setup even easier, you could use one of the many python bundlers that can package everything into an exe. I wouldn't recommend doing that if you're still gonna use pytorch tho

unborn ridge
surreal anvil
#

What's the intended usage when applying Octotext to multiple games? Is it supposed to be installed next to the rtx-remix folder in each game?

drifting vortex
strong root
#

Yeah that sounds about right. Do you mean you tried to install python from the site and still got issues?

#

Or that you added it to the path and still isues

drifting vortex
#

Downloading python from it's official site gives u a option to tick on called PATH inside the installer so it's better to download from there then the windows store

strong root
#

Just wanted to make sure, yeah I avoid the windows store apps like a plague

left orchid
#

New AI models, here's the screenshot of new normals

strong root
#

Is it up now 😮

left orchid
#

nope

#

im training roughness now

#

but goosh

#

it's so much better that the current model

#

the normals was trained 360 epoch

#

with much better dataset

#

now im interested how will emission and metalness maps will look

left orchid
#

Btw that's how the normals looks with the new model

#

btw can't import usd

unborn ridge
unborn ridge
#

Hmm weird. Maybe the linux version doesn't ships with usd libs

left orchid
#

maybe

#

then i still need an import things

left orchid
#

ok my exporter is broken

left orchid
#

normals are dying

#

kinda works

#

sheeesh there's a black hole

#

and rtx-remix does not captured every texture

#

idk why

#

now i need to translate them

#

according to the positions in the capture.usd

#

make sorta blend file or something

#

that supports layers

#

like that

strong root
#

This looks like the old model but it at least added some vertical lines

#

It's closer to your legacy stuff but seemingly not near the sharpness I'd expect for the components between the bricks

#

I guess that's where the slider comes in though

#

Basically what i'm saying is that the vertical lines should match the depth of the horizontal lines

left orchid
#

but the model don't like the red color

strong root
#

Can you try this texture and see how it looks?

left orchid
#

yup gimme a sec

strong root
#

This is from Dark Messiah, the normal should be close to this

left orchid
#

it'll be not

#

i think

strong root
#

It's a good reference to know where it's weak. Last time it could not see any vertical aspects of the normal at all which is a great improvement, so hopefully it helps you refine more

left orchid
#

nah not that good

#

waaaait

#

yeah

#

that's the right model

#

huuh

left orchid
strong root
#

Of course!

#

I HAVE THE ENTIRE GAME HAHAHA

#

should turn into this

left orchid
#

Oh wait

strong root
#

turns into

left orchid
#

i've applied unbaker

#

and situation is better now

#

still not perfect

#

but better

#

with unbaker

strong root
#

turns into

left orchid
#

ok i'll try

#

here we go

strong root
#

Just trying to give you some odder textures to help your training

strong root
proud ore
#

Try this

left orchid
#

okay

proud ore
# left orchid

Но все же эта вышла неплохо хотя алгоритм сделал бы так же

left orchid
#

хрень

#

ща

#

жди

#

ну всё равно хрень

proud ore
#

нуу

#

оно такое ощущение что не захватывает часть

#

а еще вывернуто

left orchid
#

именно на этой текстуре

left orchid
#

это directx стиль

#

а не ogl

proud ore
#

но нам такое нинадо)

#

я знаю шо можно просто взять и в пеинте или фотошопе нажать

#

на инверт цветов

left orchid
#

у нвидэ при переводе в octohedral в классе для питухона перевод идёт из dx стиля

#

поэтому сё

#

цыц

#

а для ogl есть функция для перевода в dx

proud ore
left orchid
#

ну там по факту тупо зелёный цвет переворачивается

#

255 - G

proud ore
#

Вот тебе еще задачка

proud ore
#

не знал

#

да и похуй)

left orchid
proud ore
#

Я знаю на вид

#

а не систематику

#

не знал ток про зеленый

#

ну или слышал

#

как миниму

proud ore
left orchid
proud ore
#

BRUH

left orchid
#

💀

proud ore
strong root
#

Make it learn from my textures!!

left orchid
#

send me more, as a zip

left orchid
#

let's test the gmod textures

left orchid
mental wasp
# left orchid

Is ai producing better normals now ? and what about Metalness ?

left orchid
#

And normals are weird

#

Sometimes they're amazing

#

And sometimes they're not

#

First one is good

#

But the second, naah

#

It's the same ai model, but the results are weird

left orchid
mental wasp
#

keeep it up

left orchid
#

Now I'm training roughness

#

And will train normals a bit more

mental wasp
#

roughness was alredy good...more better hell yeah

left orchid
#

And pom

#

And new models for metallic and emission

#

👀

mental wasp
left orchid
#

Not legacy

#

Legacy does not have ai models

mental wasp
#

oh nice so ai will now make metal too great

left orchid
#

And emission too

mental wasp
left orchid
#

Don't worry

mental wasp
left orchid
#

I'll update

left orchid
#

Wow I've found screenshots of my old ray tracer for unity

#

Yeeeah

#

That was a gtx 950

celest ivy
#

I also had a gtx 950 💀

oblique parcel
#

gui wher

left orchid
kindred field
left orchid
#

roughness now is 450 epoch

left orchid
#

that's a roughness

#

just wow

jaunty kindle
# left orchid

There is a weird image generation artifact where the image texture is coarse with criss crossing patterns

jaunty kindle
#

Maybe it's the tile generation of AI

#

Like blocks

left orchid
jaunty kindle
#

It affects the roughness model negatively as there's a distinct line where roughness values are not correct

left orchid
#

yeah i see

jaunty kindle
#

Like along the edges of the blocks

left orchid
jaunty kindle
#

Sorry I don't have a texture lying around

left orchid
#

oh ok

coral void
#

Hi 🙂 I got this error and I don't know how to fix it

left orchid
coral void
#

👍

sly rampart
#

You need to remove comments on line 23,24 In OctoTex/ai/PBR on the eval files

coral void
#

Can you send a picture of what it should look like? because i think i misunderstood

sly rampart
#

Should look like this, in all of these files

coral void
#

it worked! thank you 🙂

left orchid
#

training metalness AI

celest ivy
#

попробуй денойзер выключить

#

и сразу появится тень на дисплейсментс картах)

celest ivy
#

off/on denoising

left orchid
left orchid
proud ore
left orchid
mental wasp
mental wasp
proud ore
#

по сравнению с ранними

left orchid
proud ore
# left orchid

немного странные отражения сбоку

#

ты лучше сверху покажи

#

там вроде нагляднее

left orchid
#

это тестовый рафнес

proud ore
#

даже незнаю

#

вроде бы и неплохо но что то не так

#

мб и алгоритм не справился

left orchid
#

тут нет алгоритмов

#

ну, в плане Legacy

proud ore
#

Я имею ввиду

proud ore
#

типо и алгоритм не оч справился

left orchid
#

idk if that's how it should look

left orchid
#

hmmm

#

nah not legit

#

my first mesh replacement

#

yaaay

#

i mean

#

noooo

#

it... works?...

left orchid
#

I've got it working, but it looks terrible

#

I mean, there's some missing faces

celest ivy
#

What do I need to do?

left orchid
#

I'm busy rn sorry

celest ivy
#

💚

left orchid
#

ai/PBR/eval_ files

#

There's is a commented lines that will crop the texture, and center them

#

You need to uncomment them

celest ivy
#

я уже сделал это, текстуры создаются
но прямоугольные текстуры всё ещё не работают

left orchid
#

Потому что ты разкомментировал

#

Нейронка не принимает такие текстуры

#

Будет ошибками срать

celest ivy
#

печально, в мафии большинство текстур прямоугольные, надо прям искать ракурс для скрина, чтобы было незаметно, что всё сломано

mental wasp
#

@left orchid

left orchid
mental wasp
#

i installed...i think i already ahad installed but still i have error

#

octotex is opening

left orchid
#

Ok I will pause the development for a bit, because I need to work harder now, to pay for the rent, food, etc, cuz I live in a shitty country with extra large prices and low salary, I rly have no time, but I will accept the commits, thanks ❤️

mental wasp
#

now octotex working now... also had to uncomment from the eval files

late glade
#

where do i find mod.usda

mental wasp
late glade
#

im struggling to even install octotex haha

mental wasp
#

commands are not necesary there is a batch file included that will do the rest

#

and download new models from github repo

strong root
#

Is the new model out 😮

#

The one with the normals/roughness updates

mental wasp
strong root
#

Gonna hop on that TONIGHT

brittle imp
mental wasp
brittle imp
#

Damn that’s a pain

open flame
#

Any ideas???

#

My Python is the Windows Store version 3.11 as I'm assuming it's supposed to be

#

I did what I could too install the dependencies one by one too see if that'd fix this and I got closer on loading the webui itself but it's saying I'm missing a cv2 dependency I can't seem to install.

kindred field
#

i think it was said before that the windows store version of Python causes issues

open flame
kindred field
#

ah, if it said to then keep using it @open flame

#

i must be mistaken

mental wasp
open flame
#

Ran it again and it's confirming they're installed

mental wasp
open flame
#

Maybe a lucky reboot will fix it, running the .bat one more time and if that doesn't work I'll restart my PC and try.

mental wasp
#

im on 3.10 which is recomended for usd core

open flame
#

Okay good too know, it does seem like it's a Python version issue

#

Still getting the same issue, downgraded and it seems too run smoother but even after reinstalling the Python-IO it's still not running.

mental wasp
open flame
#

The furthest I got it was saying it was missing the cv2 dependencies.

Now we're back too this

mental wasp
open flame
#

Damn I think I was on the wrong branch entirely. I didn't realize there were two branches on the github

mental wasp
#

and downlod the new models too

open flame
#

Same issue after downloading the main branch instead of master branch, replacing the checkpoint folder inside of PBR, and directly running the webui

#

Not sure where I'm going wrong. At the end of the Python-IO installation it is suggesting upgrading it but I'm assuming that's not correct.

#

Also double checked too make sure all the dependencies were still installed and everything is fine up untill the end with the IO dependency.

mental wasp
#

dont replace the with old version

open flame
#

I didn't, I rid of the master branch folder and redid the steps with the main branch folder but I don't think there's an actual difference.

#

I made sure the models I had were the latest on the GitHub aswell.

mental wasp
#

is web ui opening ?

open flame
#

Not at all, the same error as my previous screenshot

mental wasp
#

everything's is here go above in the chat and find out or check pins...u can also type the word in the search to check reelated chat

open flame
#

Nothings helped and I'm just getting pissed off at this point so I'll leave this here I need a break from this bs.

open flame
#

I have and it seems too break it more

mental wasp
#

u are doing something wrong why its saying requires python 3.7 or 3.10..check ur version

open flame
#

I've installed 3 different versions at this point and none of them worked.

3.7
3.10
3.11

None worked.

#

I uninstalled all but 3.10 since you had success with it

mental wasp
#

did u followed the instructiin th pin section

open flame
#

Yeah that's exactly what I followed.

mental wasp
#

i cant help its working for every1

drifting vortex
#

download python 10, when installing it tick the PATH option and thats it, just install every thing in the requirements.txt using cmd(i installed all of them separately like pip install (module name) just in case, also remove this in the requirements.txt torch --index-url https://download.pytorch.org/whl/cu118 cause for some reason it doesnt install it correctly if u just pip install requirements.txt -r

drifting vortex
#

also pip install pillow

mental wasp
drifting vortex
#

u can put them on breakable glass addon by Mee and i just made breakable gold block with reflections dang

mental wasp
mental wasp
open flame
drifting vortex
open flame
#

Alright, thanks for the help both of y'all I'll get back with the results when I've installed everything.

I'm excited too get this running because I wanna try and at least PBR these Cry of Fear textures for these GMOD ports, I think it'll look sweet.

open flame
#

It worked! I had too sort out some system issues after installing it through the Microsoft store but I got it running! Thanks so much for the help!

mental wasp
drifting vortex
mental wasp
ornate current
wooden roost
#

I know I have the CD of this somewhere... 👀

drifting vortex
#

Albedo is causing some textures to have a hole in the center of the texture

proud needle
#

@mental wasp could you update the guide?

proud ore
#

@left orchid ded

left orchid
mental wasp
proud needle
#

nah its all good

#

I got it running in the end

#

it was just the bit about pytorch

mental wasp
proud needle
#

not really the intended purpose but I have been remastering ps2 assets using this tool

#

just editing the textures so I dont get in trouble lol

proud needle
#

so is the upscaled texture supposed to show up in the webgui?

#

I ran the upscaler but it was weirdly fast

left orchid
proud needle
#

ahh gotcha

left orchid
#

The texture will not show up as upscaled

#

I've broken something in the latest updates 😛

proud needle
#

there were a bunch of my textures that were just invisible as well

#

I dont think its a bug with your app but I think it might give me a better understanding as to why they are not showing up in remix

#

if you got a sec to help @left orchid that would be great

left orchid
#

Looks like it processes something in the background

#

So it can't show the textures

proud needle
#

ok, I have found something weird/wild

left orchid
#

Lemme guess, you have a lot of the textures right?

proud needle
#

so this is what rtx remix generated

#

haha

left orchid
#

It's so... Transparent

proud needle
#

ah I get a a shot

#

one mo

#

lmao I had to make a gif because I couldnt get a snap

left orchid
#

They have no restrictions lol

left orchid
#

Then there's no point to use PBR I think

proud needle
#

oh thats a seperate thing

#

my laptop is dying one mo

#

here we go

#

@left orchid would bit depth affect this?

left orchid
#

Idk really

proud needle
#

the transparent one is 32 where as the rest are 24

#

ah no worries dude

left orchid
#

Hm

proud needle
#

all good man

left orchid
#

You've got it running?

proud needle
#

nah, not yet

#

but I have an idea

#

I have the original png from base game files

left orchid
#

Oh

proud needle
#

ah they are jpgs

left orchid
#

Oh

#

That's sad

proud needle
#

ok, this is making more sense

#

since an image is made of R G B A

#

8bits of each. So a 24bit image is an image without the transparency

#

just RGB

left orchid
#

Oh, makes more sense now

proud needle
#

I still dont know why the image is showing as a black square though

#

do you know of a way to batch convert jpg to png? or more specifically png32?

#

paint does this pretty nicely

left orchid
proud needle
#

yup

left orchid
#

If it was my task, I would write a Python script or something

proud needle
#

does jpg work in your tool?

left orchid
#

Nope

proud needle
#

coolio

left orchid
#

It checks only the PNG images

#

You can edit a script a bit

#

I think it will be able to process the jpg images

proud needle
#

gotcha! thnks

#

ok, I am assuming I just switch out ('dds','png') with ('dds','png','jpg') in load?

#

welp I think it worked

#

lol nope it did not.

proud needle
#

getting srt cannot be interpreted

proud needle
#

replaced the .py files and it worked /shrug

cold ridge
#

getting frequent cuda out of memory errors, i have a 4080 upscaling by 8x. this normal? should i upscale to 4x or try to change to fp16? if so, how do i do that?

mental wasp
cold ridge
#

Yeah i fixed it, kept getting issues with writing the mod tho. Some missing material

#

Went back to a september version

proud needle
#

anyone know what to do with the tensor error?

#

oh it needs to be the power of 2

#

weird, my upscale with AI seems really quick

left orchid
#

But I did not commited to GitHub

dry bough
#

Any chance we could get a pause and resume feature for the mass processing functions? It takes a really long time to upscale hundreds of textures to 8x on my 12GB 3060.

cold ridge
proud needle
#

Error handling request Traceback (most recent call last): File "C:\Python310\lib\site-packages\aiohttp\web_protocol.py", line 433, in _handle_request resp = await request_handler(request) File "C:\Python310\lib\site-packages\aiohttp\web_app.py", line 504, in _handle resp = await handler(request) File "E:\Games\Mods and Files\OctoTex\OctoTex-main\OctoTex-main\webui.py", line 195, in processing_routing reqType = req_types[ fileType[len(fileType)-1].split("?")[0] ] KeyError: 'ini' anyone get this error?

left orchid
#

new update

#

already on the github

left orchid
#

Now with the luminance on the road, I think I need to add a feature to pack the mods for uploading

viral wedge
#

hey - running into an issue installed Octotex, downloaded the github repo last night:

#
  File "E:\Odessa\ai_testing\octotex\webui.py", line 6, in <module>
    import functions
  File "E:\Odessa\ai_testing\octotex\functions.py", line 3, in <module>
    import load as loader
  File "E:\Odessa\ai_testing\octotex\load.py", line 3, in <module>
    from tqdm import tqdm
ModuleNotFoundError: No module named 'tqdm'```
#

have followed the instruction to install from the requirements.txt and run python webui.py, but no luck

#

I did have a pip update I needed to do so I'll try running that and then running the requirements.txt install again

left orchid
#

hello there btw

viral wedge
#

that fixed that one, but I'm now also missing cv2 - I assume I can run it the same way, but it looks like some things might be missing from the requirements.txt for initial installation

#

thanks for the quick response though 🙂

left orchid
#

🖐🏼

#

wait, cv2 has a different name

viral wedge
#

putting pip3 install cv2 trhwos back a ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none) ERROR: No matching distribution found for cv2

left orchid
#

pip3 install opencv-python

left orchid
left orchid
#

strange error

#

i'll try to fix it

viral wedge
#

was also missing torch, but have installed that one with pip3 install torch

left orchid
#

yeah, the req file has a torch, but it installs cpu one

viral wedge
#

missing basicsr too

left orchid
#

for some reason

left orchid
#

btw i've broke something in the latest updates, so the textures will not be updated in real time after upscaling

viral wedge
#

realesrgan also didn't come in through requirements

#

I'll make a list when this is all done so it's all in one place

left orchid
#

wow, thanks ❤️

#

ok brb need to finish my roles system for vm controller thing

#

❤️

viral wedge
#

missing packages:
tqdm, opencv-python, torch, basicsr, realesrgan, wand, clipboard, aiohttp

other missing dependencies:
imagemagick

#

but I've now got it working 👍

#

is it possible to run the tool without having created a capture? i.e. just basically treat it as an upscaler that generates PBR textures, and then write the changes into a Remix mod manually instead of the tool having to be hooked in first?

viral wedge
#

that's fine - I've put some PNG files in the "diffuse" folder in textures/processing, but getting this error on the website:

left orchid
#

it will try to create an OctoTexGUI folder inside of mods folder whe you press a write button

viral wedge
#

there's not two dots here

left orchid
#

oh

viral wedge
#

not sure where the webgui is getting this name from

left orchid
#

hm...

#

wait a sec

left orchid
viral wedge
#

yeah

proud needle
#

oh I think I know what happened

#

you know how in google drive it likes to make a hidden desktop file? I must have moved one in there by mistake

left orchid
left orchid
#

sorry 😦

proud needle
#

nah its cool

#

I will provide an example. one mo

viral wedge
left orchid
#

ctrl+shift+i

viral wedge
#

ah, the inspect element tab, right

left orchid
#

it will look like this

viral wedge
left orchid
viral wedge
#

this is what happened from the attempt to upscale again

left orchid
#

press upscale_all_4

#

in the dev menu

left orchid
proud needle
#

Thanks Bro

viral wedge
left orchid
#

np

#

thanks!

proud needle
#

@left orchid it must have been one of these desktop.ini

left orchid
#

oh

proud needle
#

[.ShellClassInfo] ConfirmFileOp=0 IconResource=C:\Program Files\Google\Drive File Stream\82.0.1.0\GoogleDriveFS.exe,22

#

not much going on but it must have borked it somehow

left orchid
left orchid
viral wedge
#

alright, I'll try a redownload

left orchid
#

did you tried pip3 install -r requirements.txt?

viral wedge
#

yep, that's the first thing I ran

left orchid
#

hm...

#

strange

left orchid
viral wedge
#

yep, top-level result on github, downloaded the zip

left orchid
#

huh, i dont have any idea then 😅

#

wait i check something

#

prev commits didn't changed anything

proud needle
left orchid
#

except for the --index-url lines

left orchid
proud needle
#

when I installed this myself I had to go through one by one and download the requirements. so not sure if I did something wrong or if there is an issue with the text files

proud needle
left orchid
#

Okie dokie, waiting for the results then

#

thanks

#

=3

proud needle
#

yes, I will check as soon as I am home

#

god I forgot I left the washing in the machine fuu

#

I think I saw this error earlier

left orchid
#

hahaha

#

im dummo

#

i've mistyped the comma

proud needle
#

oh nevermind then haha

proud ore
#

Why your folder named like Odessa? 💀

viral wedge
#

not really relevant

left orchid
proud needle
#

if there is one suggestion I would have for this. It would be to have some sort of progress bar in the gui. I noticed that it has one in the CMD window but only for some functions but I would love to have one in webgui or even a console function. some textures I have are pretty complex and take an age

#

just helps me narrow down if I broke something or not haha

left orchid
viral wedge
#

ok, now I don't get an error, but nothing seems to happen. this is the texture I put into the "diffuse" folder and then click "upscale 4x"

#

this is the texture that gets exported into "upscaled"

left orchid
#

and no errors?

viral wedge
#

no errors, no

left orchid
#

can you send me the file?

viral wedge
#

that's the file

left orchid
#

ah, thanks

viral wedge
#

keeping in mind I'm not doing this with an RTX Remix mod installation, I'm running it totally on its own. no captures, not in an RTX directory, I just want to process these textures on their own and separately

left orchid
#

did worked for me

left orchid
#

you placed the texture, and then pressed upscale right away?

viral wedge
#

yeah

left orchid
#

let me guess, you have no the texture in the right menu yeah?

viral wedge
#

put pngs in the diffuse folder, they were picked up by the webgui, tried clicking upscale on the webgui

left orchid
#

ah

viral wedge
#

I do, they're all in there

left orchid
#

interesting

proud needle
#

what I did to test the upscale function was to make a bat file using just upscale.py

viral wedge
#

I get this prompt

proud needle
#

then I found it worked and from there I used the webgui

proud needle
#

see if its any different

left orchid
#

yeah

#

that a good idea

viral wedge
#

now the button works, but nothing gets placed into the "upscaled" folder

proud needle
#

@left orchid I also noticed that I had issues using the batch function on the first tab

left orchid
viral wedge
#

attempting to click the "generate normal map" button comes up with this:

#

same with roughness

left orchid
viral wedge
left orchid
#

and reinstall it with cuda support

left orchid
#

idk

proud needle
#

oh I and dont forget that if the uninstall command doesnt work to try using pip uninstall torch rather than pytorch

viral wedge
#

there's the twelve textures as PNGs

left orchid
#

oh

#

try to clear the hashes

left orchid
viral wedge
#

clearing hashes still produces nothing

#

the legacy "generate map" options are working, but the upscaler is not

proud needle
#

if you run the requirements script does it still say you are missing some?

left orchid
proud needle
#

in my enviroment I am using python10, and had to manually grab the requirements

left orchid
#

OH SHOOT

#

it's almost 7pm

#

i need to hurry up

#

till the end of my work

proud needle
#

ai model also needs to be ai/PBR/checkpoints