Skip to content

Conversation

saradufour
Copy link

I'm sorry for the delay. Lost track of the deadline day.

saradufour and others added 4 commits April 16, 2025 16:09
- Filling in the Dockerfile.train
- adjusitng the train.py with the correct workingdir not to have bugs.
- adjusting the README.md to view the progress of the assignment.
…ting a dockerhub account and storing the images.
Copy link
Contributor

@abotzki abotzki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @saradufour for your submission!


echo "build containers on VSC"

apptainer build --fakeroot python-train-sd.sif docker://saradufour/python-train-sd:v1.0.0 > $LOG_DIR/python-train-sd-OUT.log 2>&1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could also use a SBATCH statement to create log files


# Check if the model file exists and wait until it does
model_path = '/app/models/iris_model.pkl'
model_path = '/my-workdir/iris_model.pkl'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, works as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants