CPCGAN
CPCGAN copied to clipboard
Data Preprocessing
Thanks for your sharing!
I have downloaded shapenet dataset, but their format is ".txt".
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.
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.
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!
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.
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.
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?