CPCGAN icon indicating copy to clipboard operation
CPCGAN copied to clipboard

Data Preprocessing

Open tomanick opened this issue 2 years ago • 3 comments

Thanks for your sharing! I have downloaded shapenet dataset, but their format is ".txt". shapenet shapenet2 When I wanted to do "bash DataPreprocessing.sh", there was an error said that the format should be .pts. So, should I change the original .txt format to .pts format for train_data and .seg format for train_label ? How should I do this change? I do not know how to change .txt format to .pts format and .txt format to .seg format in python.

tomanick avatar Jun 01 '22 03:06 tomanick

I have solved this problem. Afterwards, I found that I could use os.rename to change ".txt" format to ".pts" format.

In addition, when I started to train a model, I found that the result was weird. training

The result was 10000? It seemed that the metric was not accuracy. Because I want to fine-tune more hyperparameters, is this possible to train by using python file like train.py rather than DLNest? @SymenYang Thanks!

tomanick avatar Jun 02 '22 07:06 tomanick

I downloaded the data from https://shapenet.cs.stanford.edu/iccv17/. It seems no batch of data has ever been fed into the model, as no lines are output between different epochs. So please check whether the input data items exist. I would suggest you fine-tune hyperparameters within the framework of DLNest by changing the configs or changing the codes. And you can also write an easy script to do the model initialization (including model init and optimizer init) and feed data into the runOneStep function by yourself.

SymenYang avatar Jun 29 '22 12:06 SymenYang

I have solved this problem. Afterwards, I found that I could use os.rename to change ".txt" format to ".pts" format.

In addition, when I started to train a model, I found that the result was weird. training

The result was 10000? It seemed that the metric was not accuracy. Because I want to fine-tune more hyperparameters, is this possible to train by using python file like train.py rather than DLNest? @SymenYang Thanks!

Hi, Were you able to fix this?

yogkul2000 avatar Mar 06 '23 21:03 yogkul2000